Memory pooling part 2 and other optimisations
[melted] / src / tests / Makefile
index 263d72e..e6883dd 100644 (file)
@@ -4,6 +4,11 @@ CFLAGS = -O3 -I .. -Wall -rdynamic -pthread
 
 LDFLAGS = -L ../framework -lmlt 
 
+ifeq ($(MLT_GPROF),true)
+CFLAGS+=-p
+LDFLAGS+=-p
+endif
+
 all: $(TARGET)
 
 pango:         pango.o