Simplify test program build.
[ffmpeg.git] / libswscale / Makefile
index b0b15d1..29abaeb 100644 (file)
@@ -22,10 +22,8 @@ HEADERS = swscale.h rgb2rgb.h
 include $(SRC_PATH)/common.mak
 
 cs_test: cs_test.c $(LIB)
-       $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)
 
-swscale-example: swscale-example.c $(LIB)
-       $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)
+swscale-example: swscale-example.o $(LIB)
 
 clean::
        rm -f cs_test swscale-example