summaryrefslogtreecommitdiff
path: root/apps/codecs/libmad/Makefile
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-03-03 14:00:24 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-03-03 14:00:24 +0000
commitf513da28c9ded2b2440d3e4f6e05b1b24b50c4e9 (patch)
tree5cca1e2385376a6172779d70572c56ebcba799f1 /apps/codecs/libmad/Makefile
parent348f5673aca2938dc00d23a5dc1988e19b9dc02a (diff)
Use EXTRA_DEFINES for the SOURCES parsing in the codec makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6114 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/Makefile')
-rw-r--r--apps/codecs/libmad/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile
index ddc6a402a4..5cac2d052e 100644
--- a/apps/codecs/libmad/Makefile
+++ b/apps/codecs/libmad/Makefile
@@ -18,7 +18,7 @@ MADOPTS = -DFPM_DEFAULT -DNDEBUG
CFLAGS = $(GCCOPTS) $(MADOPTS)\
$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
-SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
+SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - )
SOURCES = $(SRC)
OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o)
OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2))