aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-27 21:36:42 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-27 21:37:29 -0400
commitf64d926d669f6328e6b28c5d4fa5b1687052440b (patch)
tree1953d62a2d4e3a76cc385475569272b8849ecbdf
parent19123e82abfa8d01eef991ae8f22472e5e9f3b7d (diff)
added install target
-rw-r--r--Makefile2
-rw-r--r--README2
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2aa39ab..2b9f122 100644
--- a/Makefile
+++ b/Makefile
@@ -11,3 +11,5 @@ ll.o: ll.c ll.h
sb.o: sb.c sb.h
clean:
rm -f badroff $(OBJS) phrase-circuit.txt
+install: badroff
+ cp -f badroff /usr/local/bin/badroff
diff --git a/README b/README
index 41039ca..1815214 100644
--- a/README
+++ b/README
@@ -14,6 +14,8 @@ and as a test).
Just run `make` (parallelism does work, so `make -j8` is recommended) to
build the binary `badroff`.
+To install, run `sudo make install`
+
# Licence
The entirety of this project is licenced under the GNU GPLv3.