field order normalisation fix, add .vob to fezzik, field order detection for avformat
[melted] / src / modules / ffmpeg / Makefile
index 52c407b..0585571 100644 (file)
@@ -1,3 +1,4 @@
+include ../../../config.mak
 
 TARGET = ../libmltffmpeg.so
 
@@ -6,7 +7,7 @@ OBJS = factory.o \
           filter_ffmpeg_dub.o \
           consumer_ffmpeg.o
 
-CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
 
 SRCS := $(OBJS:.o=.c)
 
@@ -24,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