diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-03-06 23:31:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-03-06 23:31:36 +0000 |
commit | 5152eca7d40a1dae57c51f4dfe635c683291ad34 (patch) | |
tree | a4737ae625f993d119089ba6f46f7d058eb2f93d /apps/plugins/Makefile | |
parent | e78186f4cfe0adae87cf499b73a75807d019d9bc (diff) | |
download | rockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.tar.gz rockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.zip |
do the SOURCES magic correct here too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6160 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r-- | apps/plugins/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index fdabc8cf22..651a26c49e 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -24,8 +24,9 @@ LDS := plugin.lds | |||
24 | LINKFILE := $(OBJDIR)/pluginlink.lds | 24 | LINKFILE := $(OBJDIR)/pluginlink.lds |
25 | DEPFILE = $(OBJDIR)/dep-plugins | 25 | DEPFILE = $(OBJDIR)/dep-plugins |
26 | 26 | ||
27 | SRC := $(shell cat SOURCES | gcc -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ | 27 | # This sets up 'SRC' based on the files mentioned in SOURCES |
28 | $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - ) | 28 | include $(TOOLSDIR)/makesrc.inc |
29 | |||
29 | ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock) | 30 | ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock) |
30 | SOURCES = $(SRC) | 31 | SOURCES = $(SRC) |
31 | ELFS := $(SRC:%.c=$(OBJDIR)/%.elf) | 32 | ELFS := $(SRC:%.c=$(OBJDIR)/%.elf) |