From 078d52c290131fbc85f0ca4f59555c2ac287de6e Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 30 Apr 2017 17:37:06 -0400 Subject: fix puzzles: round 4 Change-Id: Ibba738b8179c166f680dee0ce7536890fca1c0e4 --- apps/plugins/puzzles/puzzles.make | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugins') 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) $( $(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 $@ -- cgit v1.2.3