From 762bf741fd6db043f06448a19b554cc4946777e6 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 6 Feb 2023 02:04:44 -0800 Subject: add version message; change binary name --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.3.1