]> git.sesse.net Git - mlt/blob - src/modules/vorbis/Makefile
6720b313aa152c75d9f5c8a9e5ffdd2f0744d971
[mlt] / 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 dist-clean:     clean
25                 rm -f .depend
26
27 clean:  
28                 rm -f $(OBJS) $(TARGET) 
29
30 install: all
31         install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
32
33 ifneq ($(wildcard .depend),)
34 include .depend
35 endif