X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fplus%2FMakefile;fp=src%2Fmodules%2Fplus%2FMakefile;h=866506eb5c00191b6e13c3699ac8ae44584ffe67;hb=b57890c57a31e765cc53ba5835b21fb46ae1d2a6;hp=0000000000000000000000000000000000000000;hpb=49df6db34095251b3acf611b5622b2a5da33e7e4;p=melted diff --git a/src/modules/plus/Makefile b/src/modules/plus/Makefile new file mode 100644 index 0000000..866506e --- /dev/null +++ b/src/modules/plus/Makefile @@ -0,0 +1,32 @@ +include ../../../config.mak + +TARGET = ../libmltplus.so + +OBJS = factory.o \ + filter_charcoal.o \ + filter_invert.o + +CFLAGS += -I../.. + +SRCS := $(OBJS:.o=.c) + +all: $(TARGET) + +$(TARGET): $(OBJS) + $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) + +depend: $(SRCS) + $(CC) -MM $(CFLAGS) $^ 1>.depend + +dist-clean: clean + rm -f .depend + +clean: + rm -f $(OBJS) $(TARGET) + +install: all + install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + +ifneq ($(wildcard .depend),) +include .depend +endif