Configure and build tuning
[melted] / src / modules / core / Makefile
index f37b981..5ea5606 100644 (file)
@@ -1,3 +1,4 @@
+include ../../../config.mak
 
 TARGET = ../libmltcore.so
 
@@ -23,7 +24,7 @@ OBJS = factory.o \
 
 ASM_OBJS = composite_line_yuv_mmx.o
 
-CFLAGS = -O3 -DUSE_MMX -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS += -I../..
 
 SRCS := $(OBJS:.o=.c)
 
@@ -44,6 +45,9 @@ dist-clean:   clean
 clean: 
                rm -f $(OBJS) $(ASM_OBJS) $(TARGET) 
 
+install: all
+       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif