diff options
author | Arun Isaac | 2022-01-04 23:38:38 +0530 |
---|---|---|
committer | Arun Isaac | 2022-01-04 23:40:35 +0530 |
commit | e2e437acebca2946df6978d902542fe845d8de1d (patch) | |
tree | 0efc16cedd3627889ad6055bee50c982c5e3cb06 | |
parent | 98890d26f305ddff3eb1c3b07ff77e5394357eb8 (diff) | |
download | kolam-e2e437acebca2946df6978d902542fe845d8de1d.tar.gz kolam-e2e437acebca2946df6978d902542fe845d8de1d.tar.lz kolam-e2e437acebca2946df6978d902542fe845d8de1d.zip |
Makefile: Build scm files.
* Makefile (GUILD, sources, objects): New variables.
(all, %.go): New targets.
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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: |