Browse Source

simplify lzo-test rule

Originally committed as revision 12269 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård 17 years ago
parent
commit
2e98d87cfc
1 changed files with 1 additions and 2 deletions
  1. 1 2
      libavutil/Makefile

+ 1 - 2
libavutil/Makefile

@@ -45,8 +45,7 @@ TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 sha1 softfloat t
 
 
 include ../common.mak
 include ../common.mak
 
 
-lzo-test$(EXESUF): lzo.c $(LIBNAME)
-	$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) -llzo2
+lzo-test$(EXESUF): EXTRALIBS += -llzo2
 
 
 clean::
 clean::
 	rm -f lzo-test$(EXESUF)
 	rm -f lzo-test$(EXESUF)