summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-04-30 17:37:06 -0400
committerFranklin Wei <git@fwei.tk>2017-04-30 17:49:05 -0400
commit3c3fe1003e575b214b7ecd32f35e0ad0f64d2b6e (patch)
treece6e8d8494ff253774e51b1232904aff5c8dd601
parente59197f07869d63bfc90dbce000d6af9c0fb73de (diff)
downloadrockbox-3c3fe1003e575b214b7ecd32f35e0ad0f64d2b6e.tar.gz
rockbox-3c3fe1003e575b214b7ecd32f35e0ad0f64d2b6e.zip
fix puzzles: round 4
Change-Id: Ibba738b8179c166f680dee0ce7536890fca1c0e4
-rw-r--r--apps/plugins/puzzles/puzzles.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make
index 6e10c862e6..773e737ee2 100644
--- a/apps/plugins/puzzles/puzzles.make
+++ b/apps/plugins/puzzles/puzzles.make
@@ -81,8 +81,10 @@ $(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/src/%.o $(PUZZLES_SHARED_OBJ) $(
81 $(SILENT)$(call objcopy,$(PUZZLES_OBJDIR)/$*.elf,$@) 81 $(SILENT)$(call objcopy,$(PUZZLES_OBJDIR)/$*.elf,$@)
82endif 82endif
83 83
84$(PUZZLES_SRCDIR)/rbcompat.h: $(APPSDIR)/plugin.h $(BUILDDIR)/sysfont.h $(PUZZLES_SRCDIR)/rbassert.h
85
84# special pattern rule for compiling puzzles with extra flags 86# special pattern rule for compiling puzzles with extra flags
85$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h # needed for proper dependency checks 87$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h
86 $(SILENT)mkdir -p $(dir $@) 88 $(SILENT)mkdir -p $(dir $@)
87 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@ 89 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@
88 90