bootstrap/Makefile

18 lines
281 B
Makefile

BUILD=clang -g -I include src/*.c main.c -o spec
all: build bear
build: include/*.h src/*.c
@${BUILD}
bear: include/*.h src/*.c
@bear -- ${BUILD}
test: test/runner
$^
test/runner: include/*.h src/*.c test/*.c
clang -I include src/*.c test/*.c -o test/runner
.PHONY: test