diff options
Diffstat (limited to 'apps/codecs/Tremor/Makefile')
-rw-r--r-- | apps/codecs/Tremor/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
17 | TREMOROPTS = | 17 | TREMOROPTS = |
18 | CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} | 18 | CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} |
19 | 19 | ||
20 | SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - ) | 20 | # This sets up 'SRC' based on the files mentioned in SOURCES |
21 | include $(TOOLSDIR)/makesrc.inc | ||
22 | |||
21 | SOURCES = $(SRC) | 23 | SOURCES = $(SRC) |
22 | OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) | 24 | OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) |
23 | OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) | 25 | OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) |