X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2FMakefile;h=7a7004c9639e2044bacce20a7e5ab5f66af5c421;hb=945a27e179cc4d1290b488a5b7cba466f06d009b;hp=b5275940e148e92a966778ffc0f9d731dde118af;hpb=4ed2712bbdac2182c7c0d6477ac77c9f92aaf02a;p=melted diff --git a/src/modules/sdl/Makefile b/src/modules/sdl/Makefile index b527594..7a7004c 100644 --- a/src/modules/sdl/Makefile +++ b/src/modules/sdl/Makefile @@ -1,12 +1,17 @@ +include ../../../config.mak TARGET = ../libmltsdl.so OBJS = factory.o \ - consumer_sdl.o + consumer_sdl.o \ + consumer_sdl_preview.o \ + consumer_sdl_still.o -CFLAGS = -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) @@ -24,6 +29,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