annotate tremor/Makefile @ 17342:adb64d908347

fix crash if no video codec available
author reimar
date Sun, 08 Jan 2006 13:35:54 +0000
parents 8631a3803289
children ce1ba8fd57e7
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
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
29 distclean:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
30 rm -f Makefile.bak *.o *.a *~ .depend
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