added setenv_mc
[melted] / src / modules / vorbis / Makefile
index fd8f129..3d19024 100644 (file)
@@ -1,10 +1,11 @@
+include ../../../config.mak
 
 TARGET = ../libmltvorbis.so
 
 OBJS = factory.o \
           producer_vorbis.o
 
-CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64
+CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I../../ -Wall -g -D_FILE_OFFSET_BITS=64
 
 LDFLAGS = -lvorbisfile -lvorbis
 
@@ -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