From 690d6c1f71245f7e2aae091c01137dc661e75034 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 13 Mar 2007 22:32:22 +0000 Subject: Simplify test program compilation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22556 b3059339-0415-0410-9bf9-f77b7e298cf2 --- liba52/Makefile | 4 ++-- 1 file 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 -- cgit v1.2.3