diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,12 +1,20 @@ CFLAGS += -Werror -Wall -all: solve +all: solver -solve: display.o update.o load.o cell.h load.h +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 solve + rm -f *.o solver test-solver |