mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
fix puzzles... round 3
Change-Id: I014ace22f0b83d8e407bd46df361532207f984bc
This commit is contained in:
parent
28fef2e415
commit
36aedfd165
1 changed files with 6 additions and 6 deletions
|
|
@ -51,8 +51,8 @@ endif
|
||||||
PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy \
|
PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy \
|
||||||
$(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \
|
$(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \
|
||||||
-Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \
|
-Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \
|
||||||
-DFOR_REAL -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) \
|
-DFOR_REAL -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) -include \
|
||||||
-include $(PUZZLES_SRCDIR)/rbcompat.h
|
$(PUZZLES_SRCDIR)/rbcompat.h
|
||||||
ifdef PUZZLES_COMBINED
|
ifdef PUZZLES_COMBINED
|
||||||
PUZZLESFLAGS += -DCOMBINED
|
PUZZLESFLAGS += -DCOMBINED
|
||||||
endif
|
endif
|
||||||
|
|
@ -82,14 +82,14 @@ $(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/src/%.o $(PUZZLES_SHARED_OBJ) $(
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# special pattern rule for compiling puzzles with extra flags
|
# special pattern rule for compiling puzzles with extra flags
|
||||||
$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make
|
$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h # needed for proper dependency checks
|
||||||
$(SILENT)mkdir -p $(dir $@)
|
$(SILENT)mkdir -p $(dir $@)
|
||||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@
|
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@
|
||||||
|
|
||||||
$(PUZZLES_OBJDIR)/unfinished/%.o: $(PUZZLES_SRCDIR)/unfinished/%.c $(PUZZLES_SRCDIR)/puzzles.make
|
$(PUZZLES_OBJDIR)/src/%.o: $(PUZZLES_SRCDIR)/src/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h
|
||||||
$(SILENT)mkdir -p $(dir $@)
|
$(SILENT)mkdir -p $(dir $@)
|
||||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@
|
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@
|
||||||
|
|
||||||
$(PUZZLES_OBJDIR)/src/%.o: $(PUZZLES_SRCDIR)/src/%.c $(PUZZLES_SRCDIR)/puzzles.make
|
$(PUZZLES_OBJDIR)/src/unfinished/%.o: $(PUZZLES_SRCDIR)/src/unfinished/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h
|
||||||
$(SILENT)mkdir -p $(dir $@)
|
$(SILENT)mkdir -p $(dir $@)
|
||||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@
|
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue