aboutsummaryrefslogtreecommitdiff
path: root/scheme/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scheme/Makefile')
-rw-r--r--scheme/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/scheme/Makefile b/scheme/Makefile
new file mode 100644
index 0000000..fc1b481
--- /dev/null
+++ b/scheme/Makefile
@@ -0,0 +1,19 @@
+CHICKEN_CC = chicken-csc -x -r5rs-syntax
+
+SRC = $(shell find . -type f -name '*.scm')
+BIN = $(SRC:.scm=)
+
+all: $(BIN)
+
+utils:
+ @
+
+%: %.scm
+ $(CHICKEN_CC) -o $@ $<
+
+clean:
+ rm -f $(BIN)
+
+re: clean all
+
+.PHONY: all clean re