From 9fd8a34938e942354fddab2ce14cbaa118264851 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 8 Nov 2017 11:06:39 -0800 Subject: msvc.mak: avoid infinite recursion on msvc.dep We can't call $(MAKE) on msvc.dep if running that requires us to have msvc.dep... Signed-off-by: H. Peter Anvin --- Mkfiles/msvc.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mkfiles') diff --git a/Mkfiles/msvc.mak b/Mkfiles/msvc.mak index 711ca423..a29a869e 100644 --- a/Mkfiles/msvc.mak +++ b/Mkfiles/msvc.mak @@ -382,9 +382,9 @@ dep: msvc.dep # Include and/or generate msvc.dep as needed. This is too complex to # use the include-command feature, but we can open-code it here. !IF $(EXTERNAL_DEPENDENCIES) == 1 -!IF [$(MAKE) /c msvc.dep] == 0 +!IF [$(MAKE) /c MKDEP=1 /f Mkfiles\msvc.mak msvc.dep] == 0 !INCLUDE msvc.dep -!ELSE +!ELSEIFNDEF MKDEP !ERROR Unable to rebuild dependencies file msvc.dep !ENDIF !ENDIF -- cgit v1.2.3