From b1cf2d46b6ef910df3ea20aa5bdd560ddaf259ad Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Mon, 15 Oct 2018 04:28:08 +0900 Subject: [PATCH] buildsys: don't use %.c to in a suffix rule Suggested by @mqudsi in #1554. Signed-off-by: Masatake YAMATO --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 61c7589d91..10b267d20d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,7 +96,8 @@ optlib2c_verbose = $(optlib2c_verbose_@AM_V@) optlib2c_verbose_ = $(optlib2c_verbose_@AM_DEFAULT_V@) optlib2c_verbose_0 = @echo OPTLIB2C " $@"; OPTLIB2C = $(srcdir)/misc/optlib2c -%.c: %.ctags $(OPTLIB2C) Makefile +SUFFIXES += .ctags +.c.ctags: $(OPTLIB2C) Makefile $(optlib2c_verbose)$(OPTLIB2C) $< > $@ endif dist_ctags_SOURCES = $(ALL_HEADS) $(ALL_SRCS)