X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2FMakefile;h=0ed2e6d5e264e6d73397aeab871df5197c754ddd;hb=24629fe02afcef099e19a78d838ec941d3616ab7;hp=95129362f7abde10b9ca3c0ebdafd5fb8e3e24e2;hpb=8a3795b090723264c973d274eedc28da480e76fd;p=melted diff --git a/src/modules/sdl/Makefile b/src/modules/sdl/Makefile index 9512936..0ed2e6d 100644 --- a/src/modules/sdl/Makefile +++ b/src/modules/sdl/Makefile @@ -1,12 +1,13 @@ +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` SRCS := $(OBJS:.o=.c) @@ -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