aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-29 00:27:18 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-29 00:44:20 -0400
commitd35736c77a90041ffc456462320f9a03d7588c7d (patch)
tree4da2643fb1df3c57fb97fdebf8bd160312b5251b
parent65db0147ea0bfcadcdf6f025fbeba081fd431d75 (diff)
avoided repetitive make install
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4c0a874..1d97387 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,8 @@ ll.o: ll.c ll.h
sb.o: sb.c sb.h
clean:
rm -f badroff $(OBJS) phrase-circuit.txt
-install: badroff
+install: $(BIN)/badroff
+$(BIN)/badroff: badroff
cp -f badroff $(BIN)/badroff
uninstall:
rm -f $(BIN)/badroff