+include ../../../config.mak
TARGET = ../libmltsdl.so
OBJS = factory.o \
consumer_sdl.o
-CFLAGS = -O3 -I../../ `sdl-config --cflags` -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS += -I../.. `sdl-config --cflags`
-LDFLAGS= `sdl-config --libs`
+LDFLAGS += `sdl-config --libs`
+
+LDFLAGS+=-L../../framework -lmlt
SRCS := $(OBJS:.o=.c)
clean:
rm -f $(OBJS) $(TARGET)
+install: all
+ install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
ifneq ($(wildcard .depend),)
include .depend
endif