# HG changeset patch # User diego # Date 1173825142 0 # Node ID 099a3c8158ddd77fa8315b2c367202f981e3acb4 # Parent fffc3a54fd66b4c7b791108dc8f9a3a0eca2054b Simplify test program compilation. diff -r fffc3a54fd66 -r 099a3c8158dd liba52/Makefile --- 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