diff options
-rw-r--r-- | mp3lib/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile index 056e4bbdcc..78d69c8246 100644 --- a/mp3lib/Makefile +++ b/mp3lib/Makefile @@ -39,11 +39,8 @@ include ../mpcommon.mak decode_i586.o: decode_i586.c $(CC) -c $(CFLAGS) -fomit-frame-pointer -o $@ $< -test1: libMP3.a test.c - $(CC) $(CFLAGS) test.c ../libvo/aclib.c -o test1 -I.. ./libMP3.a ../mp_msg-mencoder.o ../cpudetect.o -lm - -test2: libMP3.a test2.c - $(CC) $(CFLAGS) test2.c ../libvo/aclib.c -o test2 -I.. ./libMP3.a ../mp_msg-mencoder.o ../cpudetect.o -lm +%: %.c $(LIBNAME) ../mp_msg-mencoder.o ../cpudetect.o + $(CC) $(CFLAGS) -o $@ ../libvo/aclib.c $^ -lm distclean:: - rm -f test1 test2 + rm -f test test2 |