]> git.sesse.net Git - mlt/blob - src/modules/vmfx/Makefile
+ Final updates for 0.2.1 - distclean corrected, soname usage in linking, version...
[mlt] / src / modules / vmfx / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltvmfx$(LIBSUF)
4
5 OBJS = factory.o \
6            filter_chroma.o \
7            filter_chroma_hold.o \
8            filter_shape.o \
9            producer_pgm.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) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
21
22 depend: $(SRCS)
23                 $(CC) -MM $(CFLAGS) $^ 1>.depend
24
25 distclean:      clean
26                 rm -f .depend
27
28 clean:  
29                 rm -f $(OBJS) $(TARGET) 
30
31 install: all
32         install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
33
34 ifneq ($(wildcard .depend),)
35 include .depend
36 endif