summaryrefslogtreecommitdiff
path: root/apps/plugins/reversi/reversi.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/reversi/reversi.make')
-rw-r--r--apps/plugins/reversi/reversi.make7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/reversi/reversi.make b/apps/plugins/reversi/reversi.make
index be7369423e..4eaa82d8a0 100644
--- a/apps/plugins/reversi/reversi.make
+++ b/apps/plugins/reversi/reversi.make
@@ -21,8 +21,13 @@ OTHER_SRC += $(REVERSI_SRC)
21$(REVERSIBUILDDIR)/reversi.rock: $(REVERSI_OBJ) 21$(REVERSIBUILDDIR)/reversi.rock: $(REVERSI_OBJ)
22# for some reason, this doesn't match the implicit rule in plugins.make, 22# for some reason, this doesn't match the implicit rule in plugins.make,
23# so we have to duplicate the link command here 23# so we have to duplicate the link command here
24 $(call PRINTS,LD $(@F))
24 $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ 25 $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \
25 $(filter %.o, $^) \ 26 $(filter %.o, $^) \
26 $(filter %.a, $^) \ 27 $(filter %.a, $^) \
27 -lgcc $(PLUGINLDFLAGS) 28 -lgcc $(PLUGINLDFLAGS)
28 $(call PRINTS,LD $(@F))$(OC) -O binary $*.elf $@ 29ifdef SIMVER
30 $(SILENT)cp $*.elf $@
31else
32 $(SILENT)$(OC) -O binary $*.elf $@
33endif