blob: d778769b5e33e5e41a3c4b1e7bcc6f5bcc6cd83a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# 'apple'
CSC = csc -static
apple: apple-bin.scm
$(CSC) $< -o $@
apple-bin.scm: apple.scm
@echo "writing apple-bin.scm"
@echo '(import (scheme process-context))' > $@
@echo '(include "$<")' >> $@
@echo '(main (cdr (command-line)))' >> $@
.PHONY: clean
clean:
rm -f apple-bin.scm *.link apple
|