From 5152eca7d40a1dae57c51f4dfe635c683291ad34 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 6 Mar 2005 23:31:36 +0000 Subject: do the SOURCES magic correct here too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6160 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/plugins') 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 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) -- cgit v1.2.3