about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2022-09-16 14:55:51 -0500
committerCase Duckworth2022-09-16 14:55:51 -0500
commit0da76871ae527c6d97717c3f8359763ebe9bd329 (patch)
treeb2513eec64426b7ea412ffbda9695eb62fb51f71 /Makefile
downloadshite-0da76871ae527c6d97717c3f8359763ebe9bd329.tar.gz
shite-0da76871ae527c6d97717c3f8359763ebe9bd329.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fe6ac4b --- /dev/null +++ b/Makefile
@@ -0,0 +1,23 @@
1# SHITE
2# by C. Duckworth <acdw@acdw.net>
3
4PREFIX=/usr/local
5NAME=shite
6
7SCRIPT=$(PWD)/$(NAME)
8
9help:
10 @echo "SHITE: by C. Duckworth"
11 @echo "Makefile targets:"
12 @echo "install: install to $(DESTDIR)$(PREFIX)."
13 @echo "link: symlink to $(DESTDIR)$(PREFIX)."
14 @echo "uninstall: remove from $(DESTDIR)$(PREFIX)"
15
16install: $(SCRIPT)
17 install -D $< $(DESTDIR)$(PREFIX)/bin/$(NAME)
18
19link: $(SCRIPT)
20 ln -sf $< $(DESTDIR)$(PREFIX)/bin/$(NAME)
21
22uninstall:
23 -rm -f $< $(DESTDIR)$(PREFIX)/bin/$(NAME)