]> git.sesse.net Git - ffmpeg/commitdiff
Test programs depend on $(LIB).
authorDiego Biurrun <diego@biurrun.de>
Thu, 5 Oct 2006 00:57:48 +0000 (00:57 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 5 Oct 2006 00:57:48 +0000 (00:57 +0000)
Originally committed as revision 20059 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile

index ae667cb1119b74f852855c694df5971d48efde71..b0b15d19c18bec133cf6629d84d5d18f53133a6c 100644 (file)
@@ -21,10 +21,10 @@ HEADERS = swscale.h rgb2rgb.h
 
 include $(SRC_PATH)/common.mak
 
-cs_test: cs_test.c
+cs_test: cs_test.c $(LIB)
        $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)
 
-swscale-example: swscale-example.c
+swscale-example: swscale-example.c $(LIB)
        $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)
 
 clean::