summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-06 15:40:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-06 15:40:03 +0000
commit8ebff817a29d8e3fed2602f29fc649d2a3261ebc (patch)
treeac9457a2e251cb54e8668b11a531114baed53b87 /apps/Makefile
parente566eede94eb673813bcc017207504a7c48893ad (diff)
downloadrockbox-8ebff817a29d8e3fed2602f29fc649d2a3261ebc.zip
rockbox-8ebff817a29d8e3fed2602f29fc649d2a3261ebc.tar.gz
rockbox-8ebff817a29d8e3fed2602f29fc649d2a3261ebc.tar.bz2
rockbox-8ebff817a29d8e3fed2602f29fc649d2a3261ebc.tar.xz
Use the new generic SRC build "macro" in tools/makesrc.inc to process the
SOURCES file. Hopefully this now works better for Mac OS X people. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6152 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile
index d943d2a..af73f90 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -21,8 +21,9 @@ ifdef SOFTWARECODECS
CODECS=build-codecs
endif
-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
+
DIRS = .
ifdef APPEXTRA