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