(0 . 0)(1 . 37)
5
6 CC:=gcc
7 LDFLAGS:=-static
8
9 SOURCES=lib/cmpbuf.c \
10 lib/dirname.c \
11 lib/error.c \
12 lib/filenamecat.c \
13 lib/filetype.c \
14 lib/hash.c \
15 lib/progname.c \
16 lib/xalloc.c \
17 src/analyze.c \
18 src/context.c \
19 src/diff.c \
20 src/dir.c \
21 src/io.c \
22 src/util.c
23 HEADERS=lib/cmpbuf.h \
24 lib/diffseq.h \
25 lib/dirname.h \
26 lib/error.h \
27 lib/filenamecat.h \
28 lib/filetype.h \
29 lib/hash.h \
30 lib/progname.h \
31 lib/xalloc.h \
32 src/diff.h \
33 src/system.h
34 OBJECTS=$(SRCS:.c=.o)
35
36 vdiff: $(SOURCES) $(HEADERS)
37 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -std=c99 -Ilib/ -Isrc/ -o $@ $(SOURCES)
38
39 clean:
40 @rm -f vdiff
41