filter_sox.c, src/modules/sox/Makefile, src/modules/sox/configure: add support for...
[melted] / src / modules / sox / Makefile
1 include ../../../config.mak
2 include config.mak
3
4 TARGET = ../libmltsox$(LIBSUF)
5
6 OBJS = factory.o \
7 filter_sox.o
8
9 CFLAGS += -I../../
10
11 LDFLAGS += -L../../framework -lmlt
12
13 SRCS := $(OBJS:.o=.c)
14
15 all: $(TARGET)
16
17 $(TARGET): $(OBJS)
18 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
19
20 depend: $(SRCS)
21 $(CC) -MM $(CFLAGS) $^ 1>.depend
22
23 distclean: clean
24 rm -f .depend
25
26 clean:
27 rm -f $(OBJS) $(TARGET)
28
29 install: all
30 install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
31
32 ifneq ($(wildcard .depend),)
33 include .depend
34 endif