]> git.sesse.net Git - mlt/blob - src/humperdink/Makefile
Build fix and temporary libdv compatability
[mlt] / src / humperdink / Makefile
1 include ../../config.mak
2
3 TARGET = humperdink
4
5 OBJS = client.o \
6        io.o \
7            remote.o
8
9 CFLAGS += -I.. -rdynamic
10
11 LDFLAGS += -L ../valerie -L ../framework -lvalerie -lmlt
12
13 SRCS := $(OBJS:.o=.c)
14
15 all: $(TARGET)
16
17 $(TARGET): $(OBJS)
18                 $(CC) -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 -d "$(bindir)"
31         install -c -s -m 755 $(TARGET) "$(bindir)"
32
33 ifneq ($(wildcard .depend),)
34 include .depend
35 endif