diff options
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/$< | ||