mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
* guilec.mk: New file, to be included when building .go files. * module/language/scheme/Makefile.am: * module/system/base/Makefile.am: * module/system/il/Makefile.am: * module/system/repl/Makefile.am: * module/system/vm/Makefile.am: Use guilec.mk. * module/system/base/compile.scm (compiled-file-name): Work on the basename of a file, so that we always create files in the directory where we run. Perhaps should add a -o option to guilec in the future. * Makefile.am: Actually recurse into module/ in a normal build.
10 lines
198 B
Makefile
10 lines
198 B
Makefile
GOBJECTS = $(SOURCES:%.scm=%.go)
|
|
|
|
mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) $(GOBJECTS)
|
|
EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
|
|
|
|
CLEANFILES = $(GOBJECTS)
|
|
|
|
SUFFIXES = .scm .go
|
|
.scm.go:
|
|
$(GUILEC) $<
|