changeset 22538:099a3c8158dd

Simplify test program compilation.
author diego
date Tue, 13 Mar 2007 22:32:22 +0000
parents fffc3a54fd66
children af6dc9f0fa8b
files liba52/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liba52/Makefile	Tue Mar 13 22:28:13 2007 +0000
+++ b/liba52/Makefile	Tue Mar 13 22:32:22 2007 +0000
@@ -12,8 +12,8 @@
 
 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