]> git.sesse.net Git - mlt/blob - src/albino/Makefile
Configure and build tuning
[mlt] / src / albino / Makefile
1 include ../../config.mak
2
3 TARGET = albino
4
5 OBJS = albino.o
6
7 CFLAGS += -I.. -rdynamic
8
9 LDFLAGS = -L ../miracle -lmiracle 
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