summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5ce9ec3..f1c9064 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
CC=gcc
CFLAGS=-I. -pthread
+DESTDIR=/usr/local/bin
generate:
$(CC) -o snake snake.c vector.c $(CFLAGS)
install:
- cp snake /usr/local/bin/
+ cp snake $(DESTDIR)
clean:
rm snake