summaryrefslogtreecommitdiff
path: root/apps/codecs/Tremor/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-07 22:41:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-07 22:41:17 +0000
commitb8a23f9e4980e6a041d750c325ab2845aea8488a (patch)
treed10400e99208595638f13e7fe3b279274a173e56 /apps/codecs/Tremor/Makefile
parentd23afcd4f4ad72b1c2c087055a9ba4457f2646cd (diff)
downloadrockbox-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/Makefile9
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
10INCLUDES=-I$(APPSDIR) -I.. -I. -I$(FIRMDIR)/include -I$(FIRMDIR)/export \ 10INCLUDES=-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
13ifdef APPEXTRA 13ifdef APPEXTRA
14INCLUDES += -I$(APPSDIR)/$(APPEXTRA) 14INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
15endif 15endif
16 16
17TREMOROPTS = 17TREMOROPTS =
18CFLAGS = $(GCCOPTS) $(TREMOROPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} 18CFLAGS = $(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
21include $(TOOLSDIR)/makesrc.inc 22include $(TOOLSDIR)/makesrc.inc
@@ -26,7 +27,7 @@ OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2))
26DEPFILE = $(OBJDIR)/dep-Tremor 27DEPFILE = $(OBJDIR)/dep-Tremor
27DIRS = 28DIRS =
28 29
29OUTPUT = $(OBJDIR)/libTremor.a 30OUTPUT = $(BUILDDIR)/libTremor.a
30 31
31all: $(OUTPUT) 32all: $(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
41include $(TOOLSDIR)/make.inc 42include $(TOOLSDIR)/make.inc