]> git.sesse.net Git - mlt/blob - src/albino/Makefile
Minor optimisations, consumer avformat experimentation
[mlt] / src / albino / Makefile
1 include ../../config.mak
2
3 TARGET = albino
4
5 OBJS = albino.o
6
7 CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
8
9 LDFLAGS = -L ../valerie -L ../miracle -L ../framework -lmiracle -lmlt -lvalerie
10
11 SRCS := $(OBJS:.o=.c)
12
13 all: $(TARGET)
14
15 $(TARGET): $(OBJS)
16                 $(CC) -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 -d "$(bindir)"
29         install -c -s -m 755 $(TARGET) "$(bindir)"
30
31 ifneq ($(wildcard .depend),)
32 include .depend
33 endif