summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-03-20 03:51:08 -0700
committerKai Stevenson <kai@kaistevenson.com>2023-03-20 03:51:08 -0700
commitad900636080477eb2c8df7a225a71825e5380d3d (patch)
tree2fabfebada8ac863b6b4e2e0a128a3146a887be1 /Makefile
parent1a3b3fb05f86e357b099812c0a09a084934fd111 (diff)
added proper cancellation token handling; cleanup when host is found to be unresponsive
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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)