make install part 1
[melted] / src / modules / fezzik / Makefile
index 7b5a2a7..2fe5375 100644 (file)
@@ -1,10 +1,12 @@
+include ../../../config.mak
 
 TARGET = ../libmltfezzik.so
 
 OBJS = factory.o \
-          producer_fezzik.o 
+          producer_fezzik.o \
+          producer_hold.o 
 
-CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
 
 SRCS := $(OBJS:.o=.c)
 
@@ -22,6 +24,9 @@ dist-clean:   clean
 clean: 
                rm -f $(OBJS) $(TARGET) 
 
+install: all
+       install -m 644 ../fezzik.dict "$(prefix)/share/mlt/modules"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif