make install part 1
[melted] / src / tests / Makefile
index 3c7dd78..92ef0eb 100644 (file)
@@ -1,11 +1,21 @@
+include ../../config.mak
+
 TARGET = dan charlie pango pixbuf dissolve luma
 
-CFLAGS = -I .. -Wall -rdynamic -pthread
+CFLAGS = -O3 -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)