INN commit: trunk/tests (Makefile)

INN Commit rra at isc.org
Tue May 12 20:10:42 UTC 2020


    Date: Tuesday, May 12, 2020 @ 13:10:42
  Author: iulius
Revision: 10366

Fix syntax in Makefile

GNU make 4.3 emits the following warning:  "ignoring prerequisites on
suffix rule definition".

In previous versions, no warning was emitted and a suffix rule was
created, however all prerequisites were ignored and were not part of
the suffix rule.  Starting with GNU make 4.3, the behaviour is the same,
and in addition a warning is generated.  This commit fixes the syntax.

Modified:
  trunk/tests/Makefile

----------+
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: Makefile
===================================================================
--- Makefile	2020-05-10 12:58:37 UTC (rev 10365)
+++ Makefile	2020-05-12 20:10:42 UTC (rev 10366)
@@ -51,7 +51,7 @@
 	@echo Run configure before running make.  See INSTALL for details.
 	@exit 1
 
-.c.o: $*.c
+.c.o:
 	$(CC) $(CFLAGS) -c -o $@ $*.c
 
 LINK		= $(LIBTOOLLD) $(CC) $(LDFLAGS) $(BDB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@



More information about the inn-committers mailing list