X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fresample%2FMakefile;h=0f036fa0e0cf1d2a8f6272d84b2b89091961a109;hb=dcec48366f9349da4bab349a2945bdd8cca18b81;hp=e70434c6cf70878050baacbc331a4fbf7b8ead58;hpb=8a3795b090723264c973d274eedc28da480e76fd;p=melted diff --git a/src/modules/resample/Makefile b/src/modules/resample/Makefile index e70434c..0f036fa 100644 --- a/src/modules/resample/Makefile +++ b/src/modules/resample/Makefile @@ -1,12 +1,15 @@ +include ../../../config.mak TARGET = ../libmltresample.so OBJS = factory.o \ filter_resample.o -CFLAGS = -O3 -I../../ -Wall -g +CFLAGS += -I../.. -LDFLAGS= -lsamplerate +LDFLAGS += -lsamplerate + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -24,6 +27,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