diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ac4fc9c --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,15 @@ | |||
1 | # licenser | ||
2 | |||
3 | PREFIX ?= /usr | ||
4 | |||
5 | .PHONY: def install uninstall | ||
6 | |||
7 | def: | ||
8 | @echo "run make install to install" | ||
9 | @echo "run make uninstall to uninstall" | ||
10 | |||
11 | install: licenser | ||
12 | install -D $< $(DESTDIR)$(PREFIX)/bin | ||
13 | |||
14 | uninstall: | ||
15 | rm -f $(DESTDIR)$(PREFIX)/bin/licenser | ||