aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-13 22:32:22 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-13 22:32:22 +0000
commit690d6c1f71245f7e2aae091c01137dc661e75034 (patch)
tree8b0d9d016fe31226806c52645e39bde597386b97
parent43275ac3b0794422f3140734d9952a57a48cbf63 (diff)
Simplify test program compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22556 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--liba52/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/liba52/Makefile b/liba52/Makefile
index 39364a8653..a60806ce2a 100644
--- a/liba52/Makefile
+++ b/liba52/Makefile
@@ -12,8 +12,8 @@ SRCS_COMMON = crc.c \
include ../mpcommon.mak
-test: $(LIBNAME_COMMON) test.c
- $(CC) $(CFLAGS) test.c ../cpudetect.c -o test ../osdep/libosdep.a ./liba52.a -lm
+test: test.c ../osdep/libosdep.a $(LIBNAME_COMMON)
+ $(CC) $(CFLAGS) -o $@ $^ -lm
distclean::
rm -f test