summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 01:50:56 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 01:50:56 -0800
commitfdedca4e02bfcafc1cac049c98c8fa202f8d4c24 (patch)
tree862db92b3ae1ca2223357fee4c90e20a34576b1b /Makefile
parenta9b12565583da2b2a5d5d42fbcaab3ee141d73c2 (diff)
more correct program structure
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f1c9064..a683251 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC=gcc
-CFLAGS=-I. -pthread
+CFLAGS=-I. -pthread -fsanitize=address
DESTDIR=/usr/local/bin
generate:
- $(CC) -o snake snake.c vector.c $(CFLAGS)
+ $(CC) -o snake snake.c vector.c conio.c $(CFLAGS)
install:
cp snake $(DESTDIR)