diff options
author | Case Duckworth | 2020-05-02 20:57:18 -0500 |
---|---|---|
committer | Case Duckworth | 2020-05-02 20:57:18 -0500 |
commit | 743f652932c0fb80981a1dbff4c3802d1ee36243 (patch) | |
tree | 661552b35ec213d23ce8658a6b147d9c566eb313 | |
parent | Portabalize (diff) | |
download | licensor-743f652932c0fb80981a1dbff4c3802d1ee36243.tar.gz licensor-743f652932c0fb80981a1dbff4c3802d1ee36243.zip |
Add 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 | ||