From d4d56c40286a28ecbe0f5dd94629cb4b947153c2 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 24 May 2021 16:42:12 +0530 Subject: Replace suffix rule with pattern rule. Suffix rules are deprecated and should not be used. Pattern rules are clearer and more general. * Makefile.am: Replace suffix rule to build scheme files with pattern rule. --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index e205c47..3431242 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,8 +32,7 @@ $(guile_install_go_files): install-nobase_modDATA CLEANFILES = $(GOBJECTS) EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES) GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat -SUFFIXES = .scm .go -.scm.go: +%.go: %.scm $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILD) compile $(GUILE_WARNINGS) -o "$@" "$<" moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION) -- cgit v1.2.3