summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ce69bdd..f594359 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
-DESTDIR=/usr/local/bin/
+DESTDIR=/
default:
gcc rtv4d-dl.c -o rtv4d-dl -Wall -I.
install:
- cp rtv4d-dl $(DESTDIR)
+ mkdir -p $(DESTDIR)/usr/local/bin/
+ cp rtv4d-dl $(DESTDIR)/usr/local/bin/
distclean:
rm rtv4d-dl -f