diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b9c5dcd --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,17 @@ | |||
1 | # potato | ||
2 | |||
3 | DESTDIR = | ||
4 | PREFIX = /usr/local | ||
5 | |||
6 | CSC = csc | ||
7 | |||
8 | potato: potato.scm | ||
9 | $(CSC) -o $@ $< | ||
10 | |||
11 | .PHONY: install | ||
12 | install: potato | ||
13 | install -Dt $(DESTDIR)$(PREFIX)/bin/potato | ||
14 | |||
15 | .PHONY: uninstall | ||
16 | uninstall: | ||
17 | rm -f $(DESTDIR)$(PREFIX)/bin/potato | ||