diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-02 11:59:40 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-02 11:59:40 +0000 |
commit | 3e1d8e4a5d0e0f49eec494acbf8190e624085d71 (patch) | |
tree | 53cc315adfa5c7c4107b41281c0d870b96c0c780 /apps | |
parent | 8c82d8148eeb9a2638bee5ab228728bd2c9f1910 (diff) |
Handle .S files in the codec Makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6101 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/Tremor/Makefile | 3 | ||||
-rw-r--r-- | apps/codecs/libFLAC/Makefile | 3 | ||||
-rw-r--r-- | apps/codecs/liba52/Makefile | 3 | ||||
-rw-r--r-- | apps/codecs/libmad/Makefile | 3 | ||||
-rw-r--r-- | apps/codecs/libwavpack/Makefile | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/apps/codecs/Tremor/Makefile b/apps/codecs/Tremor/Makefile index 61f53d0edb..81a498f49a 100644 --- a/apps/codecs/Tremor/Makefile +++ b/apps/codecs/Tremor/Makefile @@ -19,7 +19,8 @@ CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=$ SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) SOURCES = $(SRC) -OBJS := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) DEPFILE = $(OBJDIR)/dep-Tremor DIRS = diff --git a/apps/codecs/libFLAC/Makefile b/apps/codecs/libFLAC/Makefile index ee4feab769..3a282597ff 100644 --- a/apps/codecs/libFLAC/Makefile +++ b/apps/codecs/libFLAC/Makefile @@ -31,7 +31,8 @@ $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ $(TARGET) $(DEFINES) -E -P -include "config.h" - ) SOURCES = $(SRC) -OBJS := $(SRC:%.c=$(OBJDIR)/libFLAC/%.o) +OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) DEPFILE = $(OBJDIR)/dep-libFLAC DIRS = diff --git a/apps/codecs/liba52/Makefile b/apps/codecs/liba52/Makefile index aa475b6b74..eb379c7adb 100644 --- a/apps/codecs/liba52/Makefile +++ b/apps/codecs/liba52/Makefile @@ -19,7 +19,8 @@ CFLAGS = $(GCCOPTS) $(A52OPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${ME SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) SOURCES = $(SRC) -OBJS := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) DEPFILE = $(OBJDIR)/dep-liba52 DIRS = diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile index 4403c050b3..ddc6a402a4 100644 --- a/apps/codecs/libmad/Makefile +++ b/apps/codecs/libmad/Makefile @@ -20,7 +20,8 @@ $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) SOURCES = $(SRC) -OBJS := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) DEPFILE = $(OBJDIR)/dep-libmad DIRS = diff --git a/apps/codecs/libwavpack/Makefile b/apps/codecs/libwavpack/Makefile index f52a2cf2ac..fbf435407f 100644 --- a/apps/codecs/libwavpack/Makefile +++ b/apps/codecs/libwavpack/Makefile @@ -19,7 +19,8 @@ $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) SOURCES = $(SRC) -OBJS := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) DEPFILE = $(OBJDIR)/dep-libwavpack DIRS = |