summaryrefslogtreecommitdiff
path: root/Makefile
blob: 0899a80b7780513c08b2d318bea48901aca71b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CFLAGS += -Werror -Wall

all: solver

solver: solver.o load.o update.o display.o solve.o load.h

test-solver: test-solver.o load.o update.o solve.o load.h

solve.o: solve.c update.h cell.h

display.o: display.c cell.h display.h

update.o: update.c cell.h display.h

.PHONY: test
test: test-solver
	./run_tests.sh

clean:
	rm -f *.o solver test-solver