Simplify test program build.
authorDiego Biurrun <diego@biurrun.de>
Thu, 5 Oct 2006 17:11:05 +0000 (17:11 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 5 Oct 2006 17:11:05 +0000 (17:11 +0000)
Originally committed as revision 20073 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

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