summaryrefslogtreecommitdiff
path: root/apps/plugins
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 18:33:55 -0400
commit078d52c290131fbc85f0ca4f59555c2ac287de6e (patch)
treece6e8d8494ff253774e51b1232904aff5c8dd601 /apps/plugins
parent36aedfd165cc44b1a01f5b30792491976db9fbab (diff)
downloadrockbox-078d52c290131fbc85f0ca4f59555c2ac287de6e.zip
rockbox-078d52c290131fbc85f0ca4f59555c2ac287de6e.tar.gz
rockbox-078d52c290131fbc85f0ca4f59555c2ac287de6e.tar.bz2
rockbox-078d52c290131fbc85f0ca4f59555c2ac287de6e.tar.xz
fix puzzles: round 4
Change-Id: Ibba738b8179c166f680dee0ce7536890fca1c0e4
Diffstat (limited to 'apps/plugins')
-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 6e10c86..773e737 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) $(
$(SILENT)$(call objcopy,$(PUZZLES_OBJDIR)/$*.elf,$@)
endif
+$(PUZZLES_SRCDIR)/rbcompat.h: $(APPSDIR)/plugin.h $(BUILDDIR)/sysfont.h $(PUZZLES_SRCDIR)/rbassert.h
+
# special pattern rule for compiling puzzles with extra flags
-$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h # needed for proper dependency checks
+$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h
$(SILENT)mkdir -p $(dir $@)
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@