From 71d9ba87b46c939f7a81eeff22b865ff1ded36fe Mon Sep 17 00:00:00 2001 From: Rejean Loyer Date: Mon, 14 Oct 2019 04:09:12 -0400 Subject: [PATCH] crossplatform.mk: add include guard variable CROSSPLATFORM_MK := defined. --- crossplatform.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crossplatform.mk b/crossplatform.mk index ee53accad7..b00021c53c 100644 --- a/crossplatform.mk +++ b/crossplatform.mk @@ -3,6 +3,8 @@ $(info Using config.mk configuration file.) include config.mk endif +CROSSPLATFORM_MK := defined + ifndef VERBOSE MAKEFLAGS += --no-print-directory endif @@ -316,7 +318,7 @@ endif ifeq ($(D),1) DEBUG_IS_ON := defined endif -addtolistfile = $(if $(1),@$(call echo,$(1)) >> $(2),) +addtolistfile = $(if $(1),@$(call echo,$(1))>> $(2),) ifdef WIN_SHELL_COMMANDS cd = @cd nullerror = 2>NUL