diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..ffa747a --- /dev/null +++ b/makefile | |||
@@ -0,0 +1,22 @@ | |||
1 | # CHICKEN-SCRATCH: here-doc templating for CHICKEN scheme | ||
2 | # (C) Case Duckworth <acdw@acdw.net> | ||
3 | # License: BSD-3. See COPYING for details. | ||
4 | |||
5 | PREFIX = /usr | ||
6 | |||
7 | SOURCES = chicken-scratch.scm chicken-scratch.mod.scm | ||
8 | |||
9 | chicken-scratch: $(SOURCES) | ||
10 | chicken-install -n | ||
11 | |||
12 | .PHONY: install | ||
13 | install: chicken-scratch | ||
14 | install -Dt $(PREFIX)/bin $< | ||
15 | |||
16 | .PHONY: chicken-install | ||
17 | chicken-install: chicken-scratch | ||
18 | chicken-install | ||
19 | |||
20 | .PHONY: clean | ||
21 | clean: | ||
22 | rm -f *.link *.so *.o *.build.sh *.import.scm *.install.sh | ||