aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index d8a5ffe..752c0a7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
-PREFIX = /usr/local
-
+BINDIR = /usr/local/bin
+MANDIR = /usr/local/man
CFLAGS = -Wall -Wno-missing-braces -Wextra -Wpedantic -O2
all: watch
install: watch
- cp watch $(PREFIX)/bin/watch
- cp watch.1 $(PREFIX)/man/man1/watch.1
+ cp watch $(BINDIR)/watch
+ cp watch.1 $(MANDIR)/man1/watch.1
uninstall:
- rm $(PREFIX)/bin/watch
- rm $(PREFIX)/man/man1/watch.1
+ rm $(BINDIR)/watch
+ rm $(MANDIR)/man1/watch.1