]> git.sesse.net Git - mlt/blob - src/modules/plusgpl/Makefile
Move rotoscoping filter into plusgpl module.
[mlt] / src / modules / plusgpl / Makefile
1 CFLAGS += -I../..
2
3 LDFLAGS += -L../../framework -lmlt -lm
4
5 include ../../../config.mak
6
7 TARGET = ../libmltplusgpl$(LIBSUF)
8
9 OBJS = factory.o \
10            filter_burn.o \
11            image.o \
12            utils.o \
13            filter_rotoscoping.o \
14            cJSON.o \
15            filter_telecide.o
16
17 SRCS := $(OBJS:.o=.c)
18
19 all:    $(TARGET)
20
21 $(TARGET): $(OBJS)
22                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
23
24 depend: $(SRCS)
25                 $(CC) -MM $(CFLAGS) $^ 1>.depend
26
27 distclean:      clean
28                 rm -f .depend
29
30 clean:  
31                 rm -f $(OBJS) $(TARGET)
32
33 install: all
34         install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
35         install -d $(DESTDIR)$(mltdatadir)/plusgpl
36         install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/plusgpl"
37
38 ifneq ($(wildcard .depend),)
39 include .depend
40 endif