about summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile22
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
5PREFIX = /usr
6
7SOURCES = chicken-scratch.scm chicken-scratch.mod.scm
8
9chicken-scratch: $(SOURCES)
10 chicken-install -n
11
12.PHONY: install
13install: chicken-scratch
14 install -Dt $(PREFIX)/bin $<
15
16.PHONY: chicken-install
17chicken-install: chicken-scratch
18 chicken-install
19
20.PHONY: clean
21clean:
22 rm -f *.link *.so *.o *.build.sh *.import.scm *.install.sh