Makefile 371 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
CFLAGS+=-Ibuild/include
#LDFLAGS+=-pthread

default: lumberjack
unixsock.c: build/include/insist.h
lumberjack.c: build/include/insist.h backoff.h

lumberjack: lumberjack.o backoff.o

build/include/insist.h: | build/include
	curl -s -o $@ https://raw.github.com/jordansissel/experiments/master/c/better-assert/insist.h

build:
	mkdir $@

build/include: | build
	mkdir $@