From 081b1ac6b4cce2896e5a874c96b9b02e0edbcf8e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 11 Jun 2006 16:41:10 +0000 Subject: - invert logic for nocheck_targets to exclude the empty default target. --- Rules.mak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 000790e64..e3e3dd667 100644 --- a/Rules.mak +++ b/Rules.mak @@ -115,7 +115,7 @@ check_cc=$(shell \ rm -f conftest.c conftest.o; \ fi) -ifeq ($(filter-out $(nocheck_targets),$(MAKECMDGOALS)),) +ifneq ($(filter $(nocheck_targets),$(MAKECMDGOALS)),) check_cc:= endif @@ -130,7 +130,7 @@ check_ld=$(shell \ echo "-Wl,$(2)" ; \ fi) -ifeq ($(filter-out $(nocheck_targets),$(MAKECMDGOALS)),) +ifneq ($(filter $(nocheck_targets),$(MAKECMDGOALS)),) check_ld:= endif @@ -148,7 +148,7 @@ check_strip=$(shell \ rm -f conftest.c conftest.o > /dev/null 2>&1 ; \ fi) -ifeq ($(filter-out $(nocheck_targets),$(MAKECMDGOALS)),) +ifneq ($(filter $(nocheck_targets),$(MAKECMDGOALS)),) check_strip:= endif -- cgit v1.2.3