# '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 apple-bin.scm *.link