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