diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |