Skip to content

Commit

Permalink
crossplatform.mk: add include guard variable CROSSPLATFORM_MK := defi…
Browse files Browse the repository at this point in the history
…ned.
  • Loading branch information
redj committed Aug 15, 2020
1 parent 8b79117 commit 6a1f69b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crossplatform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ $(info Using config.mk configuration file.)
include config.mk
endif

CROSSPLATFORM_MK := defined

# HOST PLATFORM DETECTION
ifeq ($(OS),Windows_NT)
HOST_PLATFORM := win32
Expand Down Expand Up @@ -312,7 +314,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
Expand Down

0 comments on commit 6a1f69b

Please sign in to comment.