summaryrefslogtreecommitdiffstats
path: root/mp3lib/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 11:11:14 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 11:11:14 +0000
commit65c30943489d0713785a23d60daf374da2051924 (patch)
treefaa11c1d3d807cff3d214c53fce8ef3088218852 /mp3lib/Makefile
parent40c03f4f3ace2031253832a1e16f37c0a9b4d2b8 (diff)
downloadmpv-65c30943489d0713785a23d60daf374da2051924.tar.bz2
mpv-65c30943489d0713785a23d60daf374da2051924.tar.xz
Simplify test program generation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21312 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/Makefile')
-rw-r--r--mp3lib/Makefile9
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