Mercurial > mplayer.hg
annotate liba52/Makefile @ 3529:a86166b495a6
sse opt
author | michael |
---|---|
date | Sun, 16 Dec 2001 15:43:15 +0000 |
parents | a4721884eaf5 |
children | 831860fada69 |
rev | line source |
---|---|
3407 | 1 |
2 LIBNAME = liba52.a | |
3 | |
4 include ../config.mak | |
5 | |
3412
21d65a4ae3c9
resample.c added - float->int conversion and channel ordering
arpi
parents:
3407
diff
changeset
|
6 SRCS = resample.c bit_allocate.c bitstream.c downmix.c imdct.c imdct_mlib.c parse.c |
3407 | 7 OBJS = $(SRCS:.c=.o) |
8 | |
3493 | 9 CFLAGS = $(MLIB_INC) $(OPTFLAGS) |
3407 | 10 |
11 .SUFFIXES: .c .o | |
12 | |
13 # .PHONY: all clean | |
14 | |
15 .c.o: | |
16 $(CC) -c $(CFLAGS) -o $@ $< | |
17 | |
18 $(LIBNAME): $(OBJS) | |
19 $(AR) r $(LIBNAME) $(OBJS) | |
20 | |
21 test: $(LIBNAME) test.c | |
22 $(CC) $(CFLAGS) test.c -o test -L. -la52 | |
23 | |
24 test2: $(LIBNAME) test.c | |
25 $(CC) $(CFLAGS) test.c -o test2 -L../libac3 -lac3 -L. -la52 | |
26 | |
27 all: $(LIBNAME) | |
28 | |
29 clean: | |
30 rm -f *.o *.a *~ | |
31 | |
32 distclean: | |
33 rm -f test *.o *.a *~ .depend | |
34 | |
35 dep: depend | |
36 | |
37 depend: | |
38 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
39 | |
40 # | |
41 # include dependency files if they exist | |
42 # | |
43 ifneq ($(wildcard .depend),) | |
44 include .depend | |
45 endif |