X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fresample%2FMakefile;h=b9d9fa551f5821b892b46a23a3b02346e7c53e97;hb=027dc39ab6e64c5b50901996c4977dc45cadb1c3;hp=ced5ba8ce689dd80f34b5872b7f0e23151e0d59a;hpb=a4799884f16e60db669cdf7ce6e15f160e3c7613;p=melted diff --git a/src/modules/resample/Makefile b/src/modules/resample/Makefile index ced5ba8..b9d9fa5 100644 --- a/src/modules/resample/Makefile +++ b/src/modules/resample/Makefile @@ -1,32 +1,34 @@ include ../../../config.mak -TARGET = ../libmltresample.so +TARGET = ../libmltresample$(LIBSUF) OBJS = factory.o \ filter_resample.o CFLAGS += -I../.. -LDFLAGS= -lsamplerate +LDFLAGS += -lsamplerate + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) all: $(TARGET) $(TARGET): $(OBJS) - $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) + $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend -dist-clean: clean +distclean: clean rm -f .depend clean: rm -f $(OBJS) $(TARGET) install: all - install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt" ifneq ($(wildcard .depend),) include .depend