Simplify compilation call by using $(EXTRALIBS).
authorDiego Biurrun <diego@biurrun.de>
Wed, 4 Oct 2006 13:56:24 +0000 (13:56 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 4 Oct 2006 13:56:24 +0000 (13:56 +0000)
Originally committed as revision 20038 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile

index 1c08400..f39f7cb 100644 (file)
@@ -23,7 +23,7 @@ HEADERS = swscale.h rgb2rgb.h
 include $(SRC_PATH)/common.mak
 
 cs_test: cs_test.c
-       $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale -L$(SRC_PATH)/libavutil -lavutil -lm
+       $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)
 
 swscale-example: swscale-example.c
-       $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale -L$(SRC_PATH)/libavutil -lavutil -lm
+       $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)