From c3481952e04eb79056ed5510f91c597ccb5dddd7 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 1 Jun 2023 16:30:09 -0500 Subject: Change name to apple and add makefile --- makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..dbdbe9f --- /dev/null +++ b/makefile @@ -0,0 +1,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 apple-bin.scm *.link -- cgit 1.4.1-21-gabe81