projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Memory pooling part 2 and other optimisations
[melted]
/
src
/
miracle
/
Makefile
diff --git
a/src/miracle/Makefile
b/src/miracle/Makefile
index
bae78c2
..
445a812
100644
(file)
--- a/
src/miracle/Makefile
+++ b/
src/miracle/Makefile
@@
-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)