about summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..dbdbe9f --- /dev/null +++ b/makefile
@@ -0,0 +1,16 @@
1# 'apple'
2
3CSC = csc -static
4
5apple: apple-bin.scm
6 $(CSC) $< -o $@
7
8apple-bin.scm: apple.scm
9 @echo "writing apple-bin.scm"
10 @echo '(import (scheme process-context))' > $@
11 @echo '(include "$<")' >> $@
12 @echo '(main (cdr (command-line)))' >> $@
13
14.PHONY: clean
15clean:
16 rm apple-bin.scm *.link