diff options
author | Case Duckworth | 2022-06-16 01:13:06 -0500 |
---|---|---|
committer | Case Duckworth | 2022-06-16 01:13:06 -0500 |
commit | c20a7b583d79dfbe2ef36bdc39bc4d89c7f31c43 (patch) | |
tree | e5ac70e3adfab657fb23f87f81ed6d612496f33e /Makefile | |
download | qotd-c20a7b583d79dfbe2ef36bdc39bc4d89c7f31c43.tar.gz qotd-c20a7b583d79dfbe2ef36bdc39bc4d89c7f31c43.zip |
First commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bb1524a --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | PREFIX ?= /usr/local | ||
2 | |||
3 | qotd: qotd.scm | ||
4 | csc $< -o $@ | ||
5 | |||
6 | .PHONY: install uninstall | ||
7 | install: qotd | ||
8 | install -D $< $(PREFIX)/bin/$< | ||
9 | |||
10 | uninstall: | ||
11 | rm -f $(PREFIX)/bin/$< | ||