]> git.sesse.net Git - mlt/blob - src/modules/plusgpl/Makefile
Add lumaliftgaingamma filter to plusgpl
[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            filter_lumaliftgaingamma.o \
12            image.o \
13            utils.o \
14            filter_rotoscoping.o \
15            cJSON.o \
16            filter_telecide.o
17
18 SRCS := $(OBJS:.o=.c)
19
20 all:    $(TARGET)
21
22 $(TARGET): $(OBJS)
23                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
24
25 depend: $(SRCS)
26                 $(CC) -MM $(CFLAGS) $^ 1>.depend
27
28 distclean:      clean
29                 rm -f .depend
30
31 clean:  
32                 rm -f $(OBJS) $(TARGET)
33
34 install: all
35         install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
36         install -d $(DESTDIR)$(mltdatadir)/plusgpl
37         install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/plusgpl"
38
39 ifneq ($(wildcard .depend),)
40 include .depend
41 endif