+include ../../../config.mak
-TARGET = ../libinigo.so
+TARGET = ../libmltinigo.so
OBJS = factory.o \
producer_inigo.o
-CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS += -I../..
+
+LDFLAGS+=-L../../framework -lmlt
SRCS := $(OBJS:.o=.c)
clean:
rm -f $(OBJS) $(TARGET)
+install: all
+ install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
ifneq ($(wildcard .depend),)
include .depend
endif