X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fplus%2FMakefile;h=2577d6630330906e28b2264e70890f3f041d1be2;hb=34c7916b96a65dbfb6d9414aca781d6292474f98;hp=fc90e24552b62fcd3bd670957c2e1653dfc1534e;hpb=ec2805bbb985b387c4346bd86f05596cb1da18ea;p=melted diff --git a/src/modules/plus/Makefile b/src/modules/plus/Makefile index fc90e24..2577d66 100644 --- a/src/modules/plus/Makefile +++ b/src/modules/plus/Makefile @@ -1,8 +1,9 @@ include ../../../config.mak -TARGET = ../libmltplus.so +TARGET = ../libmltplus$(LIBSUF) OBJS = factory.o \ + filter_affine.o \ filter_charcoal.o \ filter_invert.o \ filter_sepia.o \ @@ -10,12 +11,14 @@ OBJS = factory.o \ CFLAGS += -I../.. +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 @@ -27,7 +30,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