X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2FMakefile;h=1edab494cd05595961998f9e605d63c420c65e89;hb=55f4b82288ba162eeeedf63bbb99455cccd04b8d;hp=4c0150af1a72d11360913976641977b0371d61f9;hpb=8a3795b090723264c973d274eedc28da480e76fd;p=melted diff --git a/src/modules/dv/Makefile b/src/modules/dv/Makefile index 4c0150a..1edab49 100644 --- a/src/modules/dv/Makefile +++ b/src/modules/dv/Makefile @@ -1,3 +1,4 @@ +include ../../../config.mak TARGET = ../libmltdv.so @@ -5,9 +6,11 @@ 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 +LDFLAGS += -ldv + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -25,6 +28,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