]> git.sesse.net Git - mlt/blobdiff - src/tests/Makefile
Fix compile errors on ffmpeg v0.7 - 0.11.
[mlt] / src / tests / Makefile
index 92ef0eb9fd21fb2c0490ab9ba4659cca92ee2502..65099fb80487af1ac74b74cb5441ea183e062e35 100644 (file)
@@ -2,19 +2,15 @@ include ../../config.mak
 
 TARGET = dan charlie pango pixbuf dissolve luma
 
-CFLAGS = -O3 -I .. -Wall -rdynamic -pthread
+CFLAGS += -I.. $(RDYNAMIC)
 
-LDFLAGS = -L ../framework -L ../modules -lmlt -lmltdv -lmltsdl
-
-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
+                       $(CC) hello.o -o $@ -L../framework -L../modules -lmlt
 
 pango:         pango.o
                        $(CC) pango.o -o $@ $(LDFLAGS)