]> git.sesse.net Git - mlt/blob - src/modules/plus/Makefile
Fixes for swig
[mlt] / src / modules / plus / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltplus.so
4
5 OBJS = factory.o \
6            filter_charcoal.o \
7            filter_invert.o \
8            filter_sepia.o \
9            transition_affine.o
10
11 CFLAGS += -I../..
12
13 LDFLAGS+=-L../../framework -lmlt
14
15 SRCS := $(OBJS:.o=.c)
16
17 all:    $(TARGET)
18
19 $(TARGET): $(OBJS)
20                 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
21
22 depend: $(SRCS)
23                 $(CC) -MM $(CFLAGS) $^ 1>.depend
24
25 dist-clean:     clean
26                 rm -f .depend
27
28 clean:  
29                 rm -f $(OBJS) $(TARGET) 
30
31 install: all
32         install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
33
34 ifneq ($(wildcard .depend),)
35 include .depend
36 endif