From beee21e5c2e418ca4f0980b08ea658b43af6561e Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Thu, 10 Aug 2017 20:20:17 +1000 Subject: [PATCH] Revert "tests/Makefile.am: Switch away from GNU make rules" This reverts commit ff263104376de6ad18938e0c13ca910d47c51042. The GNU make rules actually work. The old style suffix rules do not. --- tests/Makefile.am | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index d926cdef..dfe59552 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -189,17 +189,10 @@ scale_clip_test_LDADD = $(top_builddir)/src/libsndfile.la #=============================================================================== # Autogen generated sources. +# These GNU style rules actually work. The old style suffix rules do not. -SUFFIXES = .def .tpl - -.def.c: +%.c : %.def %.tpl autogen --writable $< -.tpl.c: - autogen --writable $< - -.def.h: - autogen --writable $< - -.tpl.h: +%.h : %.def %.tpl autogen --writable $<