summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 00:22:46 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 00:22:46 -0800
commit46eab70eb5b0f9d00a24fb6794f2072711d9bcbc (patch)
tree35feda6adc4f7f2f895ed6f78943326c74a188a4 /Makefile
parent9abd5e553f35c3ab0739fafd93b56250511af537 (diff)
parentd768db8c404d4e326e3975c20c8dd5955a67a48f (diff)
how the fuck is this supposed to work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1555111..f1c9064 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +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