Simplify compilation call by using $(EXTRALIBS).

Originally committed as revision 20038 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Diego Biurrun 2006-10-04 13:56:24 +00:00
parent 632d873994
commit 7fe1cbd814
1 changed files with 2 additions and 2 deletions

View 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)