]> git.sesse.net Git - mlt/blob - mlt/src/valerie/Makefile
908c432f8f7a763afc5cc638340d3f419ca4e39b
[mlt] / mlt / src / valerie / Makefile
1
2 AR = ar
3
4 OBJS = valerie.o \
5            valerie_notifier.o \
6            valerie_parser.o \
7            valerie_response.o \
8            valerie_status.o \
9            valerie_tokeniser.o \
10            valerie_util.o \
11            valerie_remote.o \
12            valerie_socket.o
13
14 SRCS := $(OBJS:.o=.c)
15
16 CFLAGS=-Wall -g -D_FILE_OFFSET_BITS=64 -pthread
17
18 LDFLAGS=-ldv -lpthread
19
20 all: libvalerie.a
21
22 libvalerie.a: $(OBJS)
23         $(AR) rvu $@ $(OBJS)
24         ranlib $@
25
26 depend: $(SRCS)
27                 $(CC) -MM $(CFLAGS) $^ 1>.depend
28
29 dist-clean:     clean
30                 rm -f .depend
31
32 clean:  
33                 rm -f $(OBJS) libvalerie.a 
34
35 ifneq ($(wildcard .depend),)
36 include .depend
37 endif