summaryrefslogtreecommitdiff
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2006-08-21 12:15:29 +0000
committerLuca Abeni <lucabe72@email.it>2006-08-21 12:15:29 +0000
commit7f3f497a0b9243a1721dcfbe34bf7f1b9e3a2530 (patch)
tree5a92ab7f05683bd1b495735948aee712359d1b5f /libswscale/Makefile
parenteb6447766d7a55acd0327dd59a3e5aa9f787885f (diff)
Allow to compile swscale tests
Originally committed as revision 19476 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/Makefile')
-rw-r--r--libswscale/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index a28c67c8dc..1c08400d0a 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -21,3 +21,9 @@ endif
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
+
+swscale-example: swscale-example.c
+ $(CC) $(CFLAGS) -o $@ $^ -L. -lswscale -L$(SRC_PATH)/libavutil -lavutil -lm