]> git.sesse.net Git - mlt/blob - src/modules/plus/Makefile
More silliness :-)
[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
9 CFLAGS += -I../..
10
11 SRCS := $(OBJS:.o=.c)
12
13 all:    $(TARGET)
14
15 $(TARGET): $(OBJS)
16                 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
17
18 depend: $(SRCS)
19                 $(CC) -MM $(CFLAGS) $^ 1>.depend
20
21 dist-clean:     clean
22                 rm -f .depend
23
24 clean:  
25                 rm -f $(OBJS) $(TARGET) 
26
27 install: all
28         install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
29
30 ifneq ($(wildcard .depend),)
31 include .depend
32 endif