aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1bfcc53..be43eb1 100644
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,16 @@
# <http://www.gnu.org/licenses/>.
GUILE = guile
+GUILD = guild
EMACS = emacs
-all: ;
+sources = $(wildcard kolam/*.scm)
+objects = $(sources:.scm=.go)
+
+all: $(objects)
+
+%.go: %.scm
+ $(GUILD) compile -L . -o $@ $<
.PHONY: check
check: