Mercurial > mplayer.hg
comparison mp3lib/Makefile @ 21296:bf9e5ad91bbb
Simplify test program generation.
author | diego |
---|---|
date | Mon, 27 Nov 2006 11:11:14 +0000 |
parents | 337e3018cd8b |
children | 22a33d822400 |
comparison
equal
deleted
inserted
replaced
21295:337e3018cd8b | 21296:bf9e5ad91bbb |
---|---|
37 include ../mpcommon.mak | 37 include ../mpcommon.mak |
38 | 38 |
39 decode_i586.o: decode_i586.c | 39 decode_i586.o: decode_i586.c |
40 $(CC) -c $(CFLAGS) -fomit-frame-pointer -o $@ $< | 40 $(CC) -c $(CFLAGS) -fomit-frame-pointer -o $@ $< |
41 | 41 |
42 test1: libMP3.a test.c | 42 %: %.c $(LIBNAME) ../mp_msg-mencoder.o ../cpudetect.o |
43 $(CC) $(CFLAGS) test.c ../libvo/aclib.c -o test1 -I.. ./libMP3.a ../mp_msg-mencoder.o ../cpudetect.o -lm | 43 $(CC) $(CFLAGS) -o $@ ../libvo/aclib.c $^ -lm |
44 | |
45 test2: libMP3.a test2.c | |
46 $(CC) $(CFLAGS) test2.c ../libvo/aclib.c -o test2 -I.. ./libMP3.a ../mp_msg-mencoder.o ../cpudetect.o -lm | |
47 | 44 |
48 distclean:: | 45 distclean:: |
49 rm -f test1 test2 | 46 rm -f test test2 |