summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a683251..e27b253 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
CC=gcc
-CFLAGS=-I. -pthread -fsanitize=address
+CFLAGS=-I. -pthread
DESTDIR=/usr/local/bin
generate:
- $(CC) -o snake snake.c vector.c conio.c $(CFLAGS)
+ $(CC) -o snake3 snake.c vector.c conio.c $(CFLAGS)
install:
- cp snake $(DESTDIR)
+ cp snake3 $(DESTDIR)
clean:
- rm snake
+ rm snake3
+
+uninstall:
+ -rm $(DESTDIR)/snake3