summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 00:15:11 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 00:15:11 -0800
commit7254ba3d28a73f34ae7636ea15a1eeac9738d284 (patch)
tree861021e5088b43ed7aa8c87146687a44ee69a0fb /Makefile
parent99e168790cdda8ddff7af3a001498910c04dc890 (diff)
hide cursor; DESTDIR stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5ce9ec3..9eb42d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
CC=gcc
CFLAGS=-I. -pthread
-
+DESTDIR=/usr/local/
generate:
$(CC) -o snake snake.c vector.c $(CFLAGS)
install:
- cp snake /usr/local/bin/
+ cp snake $(DESTDIR)
clean:
rm snake