]> git.sesse.net Git - mlt/blob - src/modules/resample/Makefile
move binary modules to libdir - affects MLT_REPOSITORY
[mlt] / src / modules / resample / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltresample$(LIBSUF)
4
5 OBJS = factory.o \
6            filter_resample.o 
7
8 CFLAGS += -I../..
9
10 LDFLAGS += -lsamplerate
11
12 LDFLAGS+=-L../../framework -lmlt
13
14 SRCS := $(OBJS:.o=.c)
15
16 all:    $(TARGET)
17
18 $(TARGET): $(OBJS)
19                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
20
21 depend: $(SRCS)
22                 $(CC) -MM $(CFLAGS) $^ 1>.depend
23
24 distclean:      clean
25                 rm -f .depend
26
27 clean:  
28                 rm -f $(OBJS) $(TARGET)
29
30 install: all
31         install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
32
33 ifneq ($(wildcard .depend),)
34 include .depend
35 endif