X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fresample%2FMakefile;h=14d94cd3f12f59166c41b5024310d2f100fa5ec6;hb=34c7916b96a65dbfb6d9414aca781d6292474f98;hp=0f036fa0e0cf1d2a8f6272d84b2b89091961a109;hpb=de09bd0b00071c23666dc21bb15c619c0c9095d6;p=melted diff --git a/src/modules/resample/Makefile b/src/modules/resample/Makefile index 0f036fa..14d94cd 100644 --- a/src/modules/resample/Makefile +++ b/src/modules/resample/Makefile @@ -1,6 +1,6 @@ include ../../../config.mak -TARGET = ../libmltresample.so +TARGET = ../libmltresample$(LIBSUF) OBJS = factory.o \ filter_resample.o @@ -16,7 +16,7 @@ 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 @@ -28,7 +28,7 @@ clean: rm -f $(OBJS) $(TARGET) install: all - install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules" ifneq ($(wildcard .depend),) include .depend