INN commit: branches/2.6/tests (Makefile)
INN Commit
rra at isc.org
Thu Nov 12 20:10:53 UTC 2020
Date: Thursday, November 12, 2020 @ 12:10:53
Author: iulius
Revision: 10395
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:
branches/2.6/tests/Makefile
----------+
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: Makefile
===================================================================
--- Makefile 2020-11-12 20:10:14 UTC (rev 10394)
+++ Makefile 2020-11-12 20:10:53 UTC (rev 10395)
@@ -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