diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-05-28 23:46:52 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-05-28 23:46:52 -0400 |
commit | 67fc24e800180b83398724d65821aa37268d3bd7 (patch) | |
tree | 836b71321cf19cbac0aeb96cb7c468fe7bb7d102 /Makefile | |
parent | 25e8bb52e091c4c546502546b23c932e4d59cddb (diff) |
added uninstall target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,7 @@ CC = c99 CFLAGS = -O3 -Wall -pedantic OBJS = badroff.o buf.o ll.o sb.o +BIN = /usr/local/bin phrase-circuit.txt: badroff phrase-circuit.src ./badroff phrase-circuit.src > phrase-circuit.txt badroff: $(OBJS) @@ -12,4 +13,6 @@ sb.o: sb.c sb.h clean: rm -f badroff $(OBJS) phrase-circuit.txt install: badroff - cp -f badroff /usr/local/bin/badroff + cp -f badroff $(BIN)/badroff +uninstall: + rm -f $(BIN)/badroff |