]> git.sesse.net Git - mlt/blobdiff - src/tests/Makefile
Fix compile errors on ffmpeg v0.7 - 0.11.
[mlt] / src / tests / Makefile
index 3b48d274a91f5e2c421bac38631c43ffcac9142d..65099fb80487af1ac74b74cb5441ea183e062e35 100644 (file)
@@ -1,16 +1,17 @@
-TARGET = dan charlie pango pixbuf dissolve luma
+include ../../config.mak
 
-CFLAGS = -O3 -I .. -Wall -rdynamic -pthread
+TARGET = dan charlie pango pixbuf dissolve luma
 
-LDFLAGS = -L ../framework -L ../modules -lmlt -lmltdv -lmltsdl
+CFLAGS += -I.. $(RDYNAMIC)
 
-ifeq ($(MLT_GPROF),true)
-CFLAGS+=-p
-LDFLAGS+=-p
-endif
+LDFLAGS += -L../modules
+LDFLAGS += -L../framework -lmlt
 
 all: $(TARGET)
 
+hello:         hello.o
+                       $(CC) hello.o -o $@ -L../framework -L../modules -lmlt
+
 pango:         pango.o
                        $(CC) pango.o -o $@ $(LDFLAGS)