Configure and build tuning
[melted] / src / inigo / Makefile
1 include ../../config.mak
2
3 TARGET = inigo
4
5 OBJS = inigo.o \
6 io.o
7
8 CFLAGS += -I.. -rdynamic
9
10 LDFLAGS = -L ../framework -lmlt
11
12 SRCS := $(OBJS:.o=.c)
13
14 all: $(TARGET)
15
16 $(TARGET): $(OBJS)
17 $(CC) -o $@ $(OBJS) $(LDFLAGS)
18
19 depend: $(SRCS)
20 $(CC) -MM $(CFLAGS) $^ 1>.depend
21
22 dist-clean: clean
23 rm -f .depend
24
25 clean:
26 rm -f $(OBJS) $(TARGET)
27
28 install: all
29 install -d "$(bindir)"
30 install -c -s -m 755 $(TARGET) "$(bindir)"
31
32 ifneq ($(wildcard .depend),)
33 include .depend
34 endif