Localised data storage and utf-8 properties
[melted] / src / modules / fezzik / Makefile
index b0e98f7..5576085 100644 (file)
@@ -1,3 +1,4 @@
+include ../../../config.mak
 
 TARGET = ../libmltfezzik.so
 
@@ -5,7 +6,9 @@ OBJS = factory.o \
           producer_fezzik.o \
           producer_hold.o 
 
-CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS += -I../..
+
+LDFLAGS+=-L../../framework -lmlt
 
 SRCS := $(OBJS:.o=.c)
 
@@ -23,6 +26,11 @@ dist-clean:  clean
 clean: 
                rm -f $(OBJS) $(TARGET) 
 
+install: all
+       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+       install -m 644 ../fezzik.dict "$(prefix)/share/mlt/modules"
+       install -m 644 ../fezzik.ini "$(prefix)/share/mlt/modules"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif