bootstrap/Makefile

21 lines
317 B
Makefile
Raw Normal View History

2023-11-25 03:29:24 +00:00
BUILD=clang -Og -g -I include src/*.c main.c -o bootstrap -lm
2023-11-23 11:09:32 +00:00
all: build bear
2023-11-22 20:43:34 +00:00
2023-11-23 11:09:32 +00:00
build: include/*.h src/*.c
@${BUILD}
bear: include/*.h src/*.c
@bear -- ${BUILD}
docs:
doxygen
2023-11-25 22:25:01 +00:00
test: test/test
2023-11-23 11:09:32 +00:00
$^
2023-11-25 22:25:01 +00:00
test/test: include/*.h src/*.c test/*.h test/*.c
clang -I include src/*.c test/*.c -o test/test -lm
2023-11-23 11:09:32 +00:00
.PHONY: test