annotate tremor/Makefile @ 19718:e701a6eed5cb

ISO C90 warnings fixes
author vayne
date Wed, 06 Sep 2006 17:44:41 +0000
parents 7a9a9748e045
children 618d1857f4c4
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
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
44 dep: depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
45
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
46 depend:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
48
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
49 #
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
50 # include dependency files if they exist
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
51 #
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
52 ifneq ($(wildcard .depend),)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
53 include .depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
54 endif