annotate tremor/Makefile @ 17593:7c700dc8e37d

Gives some examples of in which form MPEG* videos can come
author gpoirier
date Sat, 11 Feb 2006 22:13:12 +0000
parents ce1ba8fd57e7
children c127ce678083
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
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
6 SRCS = bitwise.c block.c codebook.c floor0.c floor1.c framing.c info.c \
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
7 mapping0.c mdct.c registry.c res012.c sharedbook.c synthesis.c window.c
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
8
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
9 OBJS = $(SRCS:.c=.o)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
10 INCLUDE = -I. -I.. $(EXTRA_INC)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
11 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(TREMOR_FLAGS)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
12
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
13 .SUFFIXES: .c .o
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
14
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
15 # .PHONY: all clean
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
16
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
17 .c.o:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
18 $(CC) -c $(CFLAGS) -o $@ $<
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
19
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
20 $(LIBNAME): $(OBJS)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
21 $(AR) r $(LIBNAME) $(OBJS)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
22 $(RANLIB) $(LIBNAME)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
23
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
24 all: $(LIBNAME)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
25
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
26 clean:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
27 rm -f *.o *.a *~
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
28
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14280
diff changeset
29 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14280
diff changeset
30 rm -f .depend
14280
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
31
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
32 dep: depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
33
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
34 depend:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
35 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
36
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
37 #
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
38 # include dependency files if they exist
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
39 #
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
40 ifneq ($(wildcard .depend),)
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
41 include .depend
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
42 endif