From f513da28c9ded2b2440d3e4f6e05b1b24b50c4e9 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 3 Mar 2005 14:00:24 +0000 Subject: 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 --- apps/codecs/libmad/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/libmad/Makefile') diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile index ddc6a40..5cac2d0 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)) -- cgit v1.1