changeset 22030:3f0dc86dde93

Make example and test build and link correctly
author lu_zero
date Sun, 28 Jan 2007 17:52:59 +0000
parents 2fbe2debf5e6
children 48036dc7f9d9
files libswscale/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/Makefile	Sun Jan 28 17:51:41 2007 +0000
+++ b/libswscale/Makefile	Sun Jan 28 17:52:59 2007 +0000
@@ -18,9 +18,9 @@
 
 include ../common.mak
 
-cs_test: cs_test.c $(LIB)
+cs_test: cs_test.o $(LIB)
 
-swscale-example: swscale-example.o $(LIB)
+swscale-example: swscale-example.o $(LIB) -lm
 
 clean::
 	rm -f cs_test swscale-example