]> git.sesse.net Git - mlt/blobdiff - src/modules/plusgpl/Makefile
Start new plusgpl module from dgraft.
[mlt] / src / modules / plusgpl / Makefile
diff --git a/src/modules/plusgpl/Makefile b/src/modules/plusgpl/Makefile
new file mode 100644 (file)
index 0000000..c93f9c1
--- /dev/null
@@ -0,0 +1,33 @@
+CFLAGS += -I../..
+
+LDFLAGS += -L../../framework -lmlt
+
+include ../../../config.mak
+
+TARGET = ../libmltplusgpl$(LIBSUF)
+
+OBJS = factory.o \
+          filter_telecide.o
+
+SRCS := $(OBJS:.o=.c)
+
+all:   $(TARGET)
+
+$(TARGET): $(OBJS)
+               $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
+
+depend:        $(SRCS)
+               $(CC) -MM $(CFLAGS) $^ 1>.depend
+
+distclean:     clean
+               rm -f .depend
+
+clean: 
+               rm -f $(OBJS) $(TARGET)
+
+install: all
+       install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
+
+ifneq ($(wildcard .depend),)
+include .depend
+endif