summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bf013d0..0689789 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ clean:
 	rm -fv ${EXE} ${SPIRV}
 
 ${EXE}: *.c
-	${CC} -Os -Wall -std=c23 $< -o $@ -lSDL3 -lm
+	${CC} -Os -Wall -std=c23 $< -o $@ -lSDL3 -lm -fsanitize=undefined
 
 %.spv: %
 	glslc -O -c "$<" -o "$@"