From 8ebff817a29d8e3fed2602f29fc649d2a3261ebc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 6 Mar 2005 15:40:03 +0000 Subject: 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 --- apps/codecs/Tremor/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/codecs/Tremor/Makefile') diff --git a/apps/codecs/Tremor/Makefile b/apps/codecs/Tremor/Makefile index 14910b39ca..5e97c60534 100644 --- a/apps/codecs/Tremor/Makefile +++ b/apps/codecs/Tremor/Makefile @@ -17,7 +17,9 @@ endif TREMOROPTS = CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} -SRC := $(shell cat SOURCES | $(CC) -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 + SOURCES = $(SRC) OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) -- cgit v1.2.3