summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/puzzles.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/puzzles.make')
-rw-r--r--apps/plugins/puzzles/puzzles.make14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make
index 80a2aba76c..45f591d544 100644
--- a/apps/plugins/puzzles/puzzles.make
+++ b/apps/plugins/puzzles/puzzles.make
@@ -33,12 +33,14 @@ ifeq ($(MODELNAME), sansac200v2)
33PUZZLES_OPTIMIZE = -Os # tiny plugin buffer 33PUZZLES_OPTIMIZE = -Os # tiny plugin buffer
34endif 34endif
35 35
36# we suppress all warnings 36# we suppress all warnings with -w
37PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy \ 37PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy $(filter-out \
38 $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLES_OPTIMIZE) \ 38 -O%,$(PLUGINFLAGS)) $(PUZZLES_OPTIMIZE) \
39 -Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \ 39 -Wno-unused-parameter -Wno-sign-compare \
40 -DFOR_REAL -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) -include \ 40 -Wno-strict-aliasing -DFOR_REAL \
41 $(PUZZLES_SRCDIR)/rbcompat.h 41 -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) -include \
42 $(PUZZLES_SRCDIR)/rbcompat.h -ffunction-sections \
43 -fdata-sections -w
42 44
43$(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/src/%.o $(PUZZLES_OBJDIR)/help/%.o $(PUZZLES_SHARED_OBJ) $(TLSFLIB) 45$(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/src/%.o $(PUZZLES_OBJDIR)/help/%.o $(PUZZLES_SHARED_OBJ) $(TLSFLIB)
44 $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o $(PUZZLES_OBJDIR)/$*.elf \ 46 $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o $(PUZZLES_OBJDIR)/$*.elf \