X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fplus%2FMakefile;h=29eac4d037453542924698831281a09d8c0ebefc;hb=412ee02b6df734514820b24afaebab8939741645;hp=54d5ea9f90867636a6a16700ba06bae2148d4d87;hpb=dc6eb42c57d2f1111d87d8b9544e158b86a441f8;p=melted diff --git a/src/modules/plus/Makefile b/src/modules/plus/Makefile index 54d5ea9..29eac4d 100644 --- a/src/modules/plus/Makefile +++ b/src/modules/plus/Makefile @@ -1,6 +1,6 @@ include ../../../config.mak -TARGET = ../libmltplus.so +TARGET = ../libmltplus$(LIBSUF) OBJS = factory.o \ filter_affine.o \ @@ -18,19 +18,19 @@ 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