summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
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