51557e5c6cde1c936e2110c10b00cd3b5b9b9a76
[melted] / src / modules / vorbis / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltvorbis$(LIBSUF)
4
5 OBJS = factory.o \
6 producer_vorbis.o
7
8 CFLAGS += -I../..
9
10 LDFLAGS += -lvorbisfile -lvorbis
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