X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2FMakefile;h=48d65f2dcb2d2c0e2343e2b0a2f7971baecbb957;hb=a4799884f16e60db669cdf7ce6e15f160e3c7613;hp=4c0150af1a72d11360913976641977b0371d61f9;hpb=8a3795b090723264c973d274eedc28da480e76fd;p=melted diff --git a/src/modules/dv/Makefile b/src/modules/dv/Makefile index 4c0150a..48d65f2 100644 --- a/src/modules/dv/Makefile +++ b/src/modules/dv/Makefile @@ -1,3 +1,4 @@ +include ../../../config.mak TARGET = ../libmltdv.so @@ -5,7 +6,7 @@ OBJS = factory.o \ producer_libdv.o \ consumer_libdv.o -CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread +CFLAGS += -I../.. LDFLAGS=-ldv -lpthread @@ -25,6 +26,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