17 lines
281 B
Makefile
17 lines
281 B
Makefile
SOURCES = d-.scm d-/test.scm
|
|
|
|
GOBJECTS = $(SOURCES:%.scm=%.go)
|
|
GUILD = @GUILD@
|
|
|
|
moddir=$(GUILE_SITE)
|
|
godir=$(GUILE_SITE_CCACHE)
|
|
|
|
nobase_dist_mod_DATA = $(SOURCES)
|
|
nobase_go_DATA = $(GOBJECTS)
|
|
|
|
%.go: %.scm
|
|
$(GUILD) compile $^ -o $@
|
|
|
|
test: test.scm
|
|
$(GUILE) -L $(top_srcdir) -s $^
|