]> git.sesse.net Git - mlt/blob - src/modules/dgraft/Makefile
Apply cosmetic cleanup part of ldflags_order patch from Alberto Villa.
[mlt] / src / modules / dgraft / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltdgraft$(LIBSUF)
4
5 OBJS = factory.o \
6            filter_telecide.o
7
8 CFLAGS += -I../..
9
10 LDFLAGS += -L../../framework -lmlt
11
12 SRCS := $(OBJS:.o=.c)
13
14 all:    $(TARGET)
15
16 $(TARGET): $(OBJS)
17                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
18
19 depend: $(SRCS)
20                 $(CC) -MM $(CFLAGS) $^ 1>.depend
21
22 distclean:      clean
23                 rm -f .depend
24
25 clean:  
26                 rm -f $(OBJS) $(TARGET)
27
28 install: all
29         install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
30
31 ifneq ($(wildcard .depend),)
32 include .depend
33 endif