First attempt at a composite clean up
[melted] / src / modules / inigo / Makefile
index 527e49c..4df5926 100644 (file)
@@ -1,10 +1,13 @@
+include ../../../config.mak
 
 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)
 
@@ -22,6 +25,9 @@ dist-clean:   clean
 clean: 
                rm -f $(OBJS) $(TARGET) 
 
+install: all
+       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif