summaryrefslogtreecommitdiff
path: root/guilec.mk
diff options
context:
space:
mode:
Diffstat (limited to 'guilec.mk')
-rw-r--r--guilec.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/guilec.mk b/guilec.mk
new file mode 100644
index 000000000..57336c151
--- /dev/null
+++ b/guilec.mk
@@ -0,0 +1,10 @@
+GOBJECTS = $(SOURCES:%.scm=%.go)
+
+mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) $(GOBJECTS)
+EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
+
+CLEANFILES = $(GOBJECTS)
+
+SUFFIXES = .scm .go
+.scm.go:
+ $(GUILEC) $<