comparison liba52/Makefile @ 7148:d48db6256efb

use dir/libname.a instead of -Ldir -lname partially done by "Steven M. Schultz" <sms@2BSD.COM> Note: some entries (libmpdvdkit, libdha) left unchanged as they may be dynamic and not shipped with mplayer.
author arpi
date Thu, 29 Aug 2002 21:30:57 +0000
parents c3e62caf9ec6
children 01a9cf43074c
comparison
equal deleted inserted replaced
7147:0541f7fb59bf 7148:d48db6256efb
17 17
18 $(LIBNAME): $(OBJS) 18 $(LIBNAME): $(OBJS)
19 $(AR) r $(LIBNAME) $(OBJS) 19 $(AR) r $(LIBNAME) $(OBJS)
20 20
21 test: $(LIBNAME) test.c 21 test: $(LIBNAME) test.c
22 $(CC) $(CFLAGS) test.c ../cpudetect.c -o test -L. -la52 -lm 22 $(CC) $(CFLAGS) test.c ../cpudetect.c -o test ./liba52.a -lm
23 23
24 test2: $(LIBNAME) test.c 24 test2: $(LIBNAME) test.c
25 $(CC) $(CFLAGS) test.c -o test2 -L../libac3 -lac3 -L. -la52 25 $(CC) $(CFLAGS) test.c -o test2 ../libac3/libac3.a ./liba52.a -lm
26 26
27 all: $(LIBNAME) 27 all: $(LIBNAME)
28 28
29 clean: 29 clean:
30 rm -f *.o *.a *~ 30 rm -f *.o *.a *~