]> git.sesse.net Git - mlt/blobdiff - src/modules/sdl/Makefile
Minor optimisations, consumer avformat experimentation
[mlt] / src / modules / sdl / Makefile
index 510744121eb40d4a53d90ad8b4ed4bd7d775e7d3..19ef216c1e2a5dda144491b09b5b218e2ff8fb76 100644 (file)
@@ -1,10 +1,11 @@
+include ../../../config.mak
 
-TARGET = libmltsdl.so
+TARGET = ../libmltsdl.so
 
 OBJS = factory.o \
           consumer_sdl.o 
 
-CFLAGS=-I../../ `sdl-config --cflags` -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I../../ `sdl-config --cflags` -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
 
 LDFLAGS= `sdl-config --libs`
 
@@ -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