From ad900636080477eb2c8df7a225a71825e5380d3d Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Mon, 20 Mar 2023 03:51:08 -0700 Subject: added proper cancellation token handling; cleanup when host is found to be unresponsive --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 64b3196..5fdc73e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ CC=gcc -CFLAGS=-I. +CFLAGS=-I. -pthread -std=c99 -march=native -O3 -lm +CFLAGS+= -Wshadow -Wundef -Wcast-align +CFLAGS+= -Wunreachable-code -Wswitch-enum generate: $(CC) -o chess src/chess.c src/vector.c src/chesshelpers.c src/console.c src/fscomch.c $(CFLAGS) -- cgit v1.3.1