albino/Makefile, inigo/Makefile, humperdink/Makefile, miracle/Makefile:
[melted] / 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 -lpthread
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 distclean: clean
24 rm -f .depend
25
26 clean:
27 rm -f $(OBJS) $(TARGET)
28
29 install: all
30 install -d "$(DESTDIR)$(bindir)"
31 install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"
32
33 uninstall:
34 rm -f "$(DESTDIR)$(bindir)/$(TARGET)"
35
36 ifneq ($(wildcard .depend),)
37 include .depend
38 endif