summaryrefslogtreecommitdiff
path: root/Makefile
blob: 88b0d28db9794b04444a9886d9b0bb6e07e3c074 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f
 CWARN := -Weverything -Wno-vla -Wno-padded
 SRC := src/input.c src/count.c src/main.c src/output.c src/solve.c

illum: src/illumination.h $(SRC)
	clang $(CWARN) -o "$@" $(SRC)

test: illum
	$(VAL) ./illum solve input.example.txt solution.example.txt

.PHONY: test