summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-06 23:31:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-06 23:31:36 +0000
commit5152eca7d40a1dae57c51f4dfe635c683291ad34 (patch)
treea4737ae625f993d119089ba6f46f7d058eb2f93d /apps/plugins
parente78186f4cfe0adae87cf499b73a75807d019d9bc (diff)
downloadrockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.zip
rockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.tar.gz
rockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.tar.bz2
rockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.tar.xz
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')
-rw-r--r--apps/plugins/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index fdabc8c..651a26c 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -24,8 +24,9 @@ LDS := plugin.lds
LINKFILE := $(OBJDIR)/pluginlink.lds
DEPFILE = $(OBJDIR)/dep-plugins
-SRC := $(shell cat SOURCES | gcc -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
- $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - )
+# This sets up 'SRC' based on the files mentioned in SOURCES
+include $(TOOLSDIR)/makesrc.inc
+
ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock)
SOURCES = $(SRC)
ELFS := $(SRC:%.c=$(OBJDIR)/%.elf)