Test programs depend on $(LIB).
[ffmpeg.git] / libswscale / Makefile
index ae667cb..b0b15d1 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::