field order normalisation fix, add .vob to fezzik, field order detection for avformat
[melted] / src / tests / Makefile
index 3c7dd78..0dd5bb8 100644 (file)
@@ -1,11 +1,21 @@
+include ../../config.mak
+
 TARGET = dan charlie pango pixbuf dissolve luma
 
-CFLAGS = -I .. -Wall -rdynamic -pthread
+CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I .. -Wall -rdynamic -pthread
+
+LDFLAGS = -L ../framework -L ../modules -lmlt -lmltdv -lmltsdl
 
-LDFLAGS = -L ../framework -lmlt 
+ifeq ($(MLT_GPROF),true)
+CFLAGS+=-p
+LDFLAGS+=-p
+endif
 
 all: $(TARGET)
 
+hello:         hello.o
+                       $(CC) hello.o -o $@ -L ../framework -L ../modules -lmlt
+
 pango:         pango.o
                        $(CC) pango.o -o $@ $(LDFLAGS)