TARGET = libmlt.so
OBJS = mlt_frame.o \
+ mlt_deque.o \
mlt_property.o \
mlt_properties.o \
mlt_service.o \
mlt_field.o \
mlt_tractor.o \
mlt_factory.o \
- mlt_repository.o
+ mlt_repository.o \
+ mlt_pool.o
SRCS := $(OBJS:.o=.c)
-CFLAGS = -g -Wall -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS = -g -O3 -Wall -D_FILE_OFFSET_BITS=64 -pthread
LDFLAGS = -lm -ldl -lpthread
+ifeq ($(MLT_GPROF),true)
+CFLAGS+=-p
+LDFLAGS+=-p
+endif
+
all: $(TARGET)
$(TARGET): $(OBJS)