annotate tremor/Makefile @ 21233:0b17f818d393

Remove config.h and move its content to af.h. There are multiple files under the name config.h, inviting bugs and confusion.
author diego
date Sat, 25 Nov 2006 19:57:31 +0000
parents 68df3b19a160
children 92b122592776
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14280
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
1
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
2 LIBNAME = libvorbisidec.a
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
3
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
4 include ../config.mak
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
5
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
6 SRCS = bitwise.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
7 block.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
8 codebook.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9 floor0.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
10 floor1.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
11 framing.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12 info.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
13 mapping0.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
14 mdct.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
15 registry.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
16 res012.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
17 sharedbook.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
18 synthesis.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
19 window.c \
14280
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
20
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
21 OBJS = $(SRCS:.c=.o)
19037
7a9a9748e045 OPTFLAGS already includes EXTRA_INC.
diego
parents: 17943
diff changeset
22 INCLUDE = -I. -I..
14280
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
23 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(TREMOR_FLAGS)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
24
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
25 .SUFFIXES: .c .o
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
26
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
27 # .PHONY: all clean
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
28
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
29 .c.o:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
30 $(CC) -c $(CFLAGS) -o $@ $<
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
31
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
32 $(LIBNAME): $(OBJS)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
33 $(AR) r $(LIBNAME) $(OBJS)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
34 $(RANLIB) $(LIBNAME)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
35
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
36 all: $(LIBNAME)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
37
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
38 clean:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
39 rm -f *.o *.a *~
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
40
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14280
diff changeset
41 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14280
diff changeset
42 rm -f .depend
14280
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
43
21080
618d1857f4c4 Unify dep/depend targets.
diego
parents: 19037
diff changeset
44 dep depend:
14280
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
45 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
46
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
47 ifneq ($(wildcard .depend),)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
48 include .depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
49 endif