diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2009-03-04 23:41:58 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2009-03-04 23:41:58 +0000 |
| commit | f82c9449121617386884b3047fba3e18a1c7bc76 (patch) | |
| tree | d1f4280b040acaae6f311e1442e2f5a6a93e54a0 /apps/plugins/reversi | |
| parent | 67c6f6048e3e7f81e337793f141c19a3d57c2c78 (diff) | |
| download | rockbox-f82c9449121617386884b3047fba3e18a1c7bc76.zip rockbox-f82c9449121617386884b3047fba3e18a1c7bc76.tar.gz rockbox-f82c9449121617386884b3047fba3e18a1c7bc76.tar.bz2 rockbox-f82c9449121617386884b3047fba3e18a1c7bc76.tar.xz | |
Use a static pattern rule to restrict the dependency on [pluginname].o to single-file plugins. This allows the pattern rule for %.rock (with all dependencies defined elsewhere) to pick up multi-file plugins with no [pluginname].o file, and get rid of the duplication in (doom|midi|reversi).make.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20205 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/reversi')
| -rw-r--r-- | apps/plugins/reversi/reversi.make | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/plugins/reversi/reversi.make b/apps/plugins/reversi/reversi.make index 0e7b388..52a97fa 100644 --- a/apps/plugins/reversi/reversi.make +++ b/apps/plugins/reversi/reversi.make @@ -19,15 +19,3 @@ REVERSI_OBJ := $(call c2obj, $(REVERSI_SRC)) OTHER_SRC += $(REVERSI_SRC) $(REVERSIBUILDDIR)/reversi.rock: $(REVERSI_OBJ) -# for some reason, this doesn't match the implicit rule in plugins.make, -# so we have to duplicate the link command here - $(call PRINTS,LD $(@F)) - $(SILENT)$(CC) $(PLUGINFLAGS) -o $*.elf \ - $(filter %.o, $^) \ - $(filter %.a, $^) \ - -lgcc $(PLUGINLDFLAGS) -ifdef SIMVER - $(SILENT)cp $*.elf $@ -else - $(SILENT)$(OC) -O binary $*.elf $@ -endif |