diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
commit | b8a23f9e4980e6a041d750c325ab2845aea8488a (patch) | |
tree | d10400e99208595638f13e7fe3b279274a173e56 /apps/codecs/Tremor/Makefile | |
parent | d23afcd4f4ad72b1c2c087055a9ba4457f2646cd (diff) | |
download | rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.tar.gz rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.zip |
Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/Tremor/Makefile')
-rw-r--r-- | apps/codecs/Tremor/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/codecs/Tremor/Makefile b/apps/codecs/Tremor/Makefile index 5e97c60534..20e30bbbf6 100644 --- a/apps/codecs/Tremor/Makefile +++ b/apps/codecs/Tremor/Makefile | |||
@@ -8,14 +8,15 @@ | |||
8 | # | 8 | # |
9 | 9 | ||
10 | INCLUDES=-I$(APPSDIR) -I.. -I. -I$(FIRMDIR)/include -I$(FIRMDIR)/export \ | 10 | INCLUDES=-I$(APPSDIR) -I.. -I. -I$(FIRMDIR)/include -I$(FIRMDIR)/export \ |
11 | -I$(FIRMDIR)/common -I$(FIRMDIR)/drivers | 11 | -I$(FIRMDIR)/common -I$(FIRMDIR)/drivers -I$(BUILDDIR) |
12 | 12 | ||
13 | ifdef APPEXTRA | 13 | ifdef APPEXTRA |
14 | INCLUDES += -I$(APPSDIR)/$(APPEXTRA) | 14 | INCLUDES += -I$(APPSDIR)/$(APPEXTRA) |
15 | endif | 15 | endif |
16 | 16 | ||
17 | TREMOROPTS = | 17 | TREMOROPTS = |
18 | CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} | 18 | CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ |
19 | -DMEM=${MEMORYSIZE} | ||
19 | 20 | ||
20 | # This sets up 'SRC' based on the files mentioned in SOURCES | 21 | # This sets up 'SRC' based on the files mentioned in SOURCES |
21 | include $(TOOLSDIR)/makesrc.inc | 22 | include $(TOOLSDIR)/makesrc.inc |
@@ -26,7 +27,7 @@ OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) | |||
26 | DEPFILE = $(OBJDIR)/dep-Tremor | 27 | DEPFILE = $(OBJDIR)/dep-Tremor |
27 | DIRS = | 28 | DIRS = |
28 | 29 | ||
29 | OUTPUT = $(OBJDIR)/libTremor.a | 30 | OUTPUT = $(BUILDDIR)/libTremor.a |
30 | 31 | ||
31 | all: $(OUTPUT) | 32 | all: $(OUTPUT) |
32 | 33 | ||
@@ -35,7 +36,7 @@ $(OUTPUT): $(OBJS) | |||
35 | @$(AR) ruv $@ $+ >/dev/null 2>&1 | 36 | @$(AR) ruv $@ $+ >/dev/null 2>&1 |
36 | 37 | ||
37 | $(OBJDIR)/Tremor/%.o: $(APPSDIR)/codecs/Tremor/%.c | 38 | $(OBJDIR)/Tremor/%.o: $(APPSDIR)/codecs/Tremor/%.c |
38 | @echo "CC $<" | 39 | @echo "(Tremor) CC $<" |
39 | @$(CC) -c -O2 $(CFLAGS) -I$(APPSDIR)/codecs/Tremor/ $< -o $@ | 40 | @$(CC) -c -O2 $(CFLAGS) -I$(APPSDIR)/codecs/Tremor/ $< -o $@ |
40 | 41 | ||
41 | include $(TOOLSDIR)/make.inc | 42 | include $(TOOLSDIR)/make.inc |