summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 15:15:06 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 15:15:06 -0800
commitb0ae48bbc3761820021db07cfec8e06776f0b639 (patch)
tree09d7b8a3a0121c02a26f849bd00529e13170aa13 /Makefile
parent88e2805ed74df0ec8b41c4bdd1978a15396674c3 (diff)
obstacles work now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2f8d956..9f95cfa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
CFLAGS=-I. -pthread -Wall -Wextra -Wpedantic -std=c99 -march=native -O3 -lm
CFLAGS+= -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith -Wcast-align -Wstrict-overflow=5 -Wswitch-default
CFLAGS+= -Wunreachable-code -Wswitch-enum -Wformat=2
+CFLAGS+= -fsanitize=address
PREFIX ?= /usr
BINDIR ?= ${PREFIX}/bin
MANDIR = ${PREFIX}/share/man/