Fix bytevector->hex-string.
[guile-toxcore.git] / guile.am
CommitLineData
24541c70
DT
1GOBJECTS = $(SOURCES:%.scm=%.go)
2
3nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES)
4nobase_go_DATA = $(GOBJECTS)
5
6# Make sure source files are installed first, so that the mtime of
7# installed compiled files is greater than that of installed source
8# files. See
9# <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
10# for details.
11guile_install_go_files = install-nobase_goDATA
12$(guile_install_go_files): install-nobase_modDATA
13
14CLEANFILES = $(GOBJECTS)
15EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
16GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
17SUFFIXES = .scm .go
18.scm.go:
19 $(AM_V_GEN)$(top_builddir)/env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"