Memory pooling part 2 and other optimisations
[melted] / src / miracle / Makefile
index bae78c2..445a812 100644 (file)
@@ -16,6 +16,11 @@ CFLAGS = -O3 -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
 
 LDFLAGS = -L ../valerie -lvalerie -L ../framework -lmlt
 
+ifeq ($(MLT_GPROF),true)
+CFLAGS+=-p
+LDFLAGS+=-p
+endif
+
 SRCS := $(OBJS:.o=.c)
 
 all:           $(TARGET)