diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-05-08 23:32:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-08 23:32:52 +0100 |
commit | 172138b9e077ec53c9fdec2eb0a4df73f1db3f22 (patch) | |
tree | 0988e54019da5692afe24953a72409b711c27ca7 /make_helpers/windows.mk | |
parent | 07f40001d17426143542b71ac9b3d88b11788fa4 (diff) | |
parent | 052ab529c4a02ee60974c20a1dd954238ec40c4c (diff) |
Merge pull request #926 from EvanLloyd/win_make_4
Minor makefile fixes
Diffstat (limited to 'make_helpers/windows.mk')
-rw-r--r-- | make_helpers/windows.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/make_helpers/windows.mk b/make_helpers/windows.mk index f6e8d55b..69f6a017 100644 --- a/make_helpers/windows.mk +++ b/make_helpers/windows.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -51,12 +51,15 @@ ifndef WINDOWS_MK # ${1} is the directory to be generated. # ${2} is optional, and allows prerequisites to be specified. + # Do nothing if $1 == $2, to ignore self dependencies. define MAKE_PREREQ_DIR + ifneq (${1},${2}) ${1} : ${2} $(eval tmp_dir:=$(subst /,\,${1})) -@if not exist "$(tmp_dir)" mkdir "${tmp_dir}" + endif endef # ${1} is the directory to be removed. |