Mercurial > mplayer.hg
annotate tremor/Makefile @ 17490:acef9166db2f
MPlayer OSX port: Add a call to UDFFindFile to verify that we are opening a valid udf image. Patch by Emanuele Giaquita <emanuele.giaquinta@gmail.com>
author | nplourde |
---|---|
date | Fri, 27 Jan 2006 03:07:13 +0000 |
parents | ce1ba8fd57e7 |
children | c127ce678083 |
rev | line source |
---|---|
14280 | 1 |
2 LIBNAME = libvorbisidec.a | |
3 | |
4 include ../config.mak | |
5 | |
6 SRCS = bitwise.c block.c codebook.c floor0.c floor1.c framing.c info.c \ | |
7 mapping0.c mdct.c registry.c res012.c sharedbook.c synthesis.c window.c | |
8 | |
9 OBJS = $(SRCS:.c=.o) | |
10 INCLUDE = -I. -I.. $(EXTRA_INC) | |
11 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(TREMOR_FLAGS) | |
12 | |
13 .SUFFIXES: .c .o | |
14 | |
15 # .PHONY: all clean | |
16 | |
17 .c.o: | |
18 $(CC) -c $(CFLAGS) -o $@ $< | |
19 | |
20 $(LIBNAME): $(OBJS) | |
21 $(AR) r $(LIBNAME) $(OBJS) | |
22 $(RANLIB) $(LIBNAME) | |
23 | |
24 all: $(LIBNAME) | |
25 | |
26 clean: | |
27 rm -f *.o *.a *~ | |
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 | 31 |
32 dep: depend | |
33 | |
34 depend: | |
35 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
36 | |
37 # | |
38 # include dependency files if they exist | |
39 # | |
40 ifneq ($(wildcard .depend),) | |
41 include .depend | |
42 endif |