+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`
clean:
rm -f $(OBJS) $(TARGET)
+install: all
+ install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
ifneq ($(wildcard .depend),)
include .depend
endif