cfe0811ea0825e83a374bf4c70b602bf59609cf5
[melted] / src / modules / kdenlive / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltkdenlive$(LIBSUF)
4
5 OBJS = factory.o \
6 filter_boxblur.o \
7 filter_freeze.o \
8 filter_wave.o \
9 producer_framebuffer.o
10
11 CFLAGS += -I../..
12
13 LDFLAGS += -lm
14
15 LDFLAGS+=-L../../framework -lmlt
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)$(libdir)/mlt"
35
36 ifneq ($(wildcard .depend),)
37 include .depend
38 endif