]> git.sesse.net Git - mlt/blob - src/modules/avformat/Makefile
Minor optimisations, consumer avformat experimentation
[mlt] / src / modules / avformat / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltavformat.so
4
5 OBJS = factory.o \
6            producer_avformat.o \
7            consumer_avformat.o
8
9 CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I../../ -Wall -g -D_FILE_OFFSET_BITS=64
10
11 LDFLAGS = -lavformat -lavcodec
12
13 SRCS := $(OBJS:.o=.c)
14
15 all:    $(TARGET)
16
17 $(TARGET): $(OBJS)
18                 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
19
20 depend: $(SRCS)
21                 $(CC) -MM $(CFLAGS) $^ 1>.depend
22
23 dist-clean:     clean
24                 rm -f .depend
25
26 clean:  
27                 rm -f $(OBJS) $(TARGET) 
28
29 install: all
30         install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
31
32 ifneq ($(wildcard .depend),)
33 include .depend
34 endif