This change adds nmake compatible Makefile.msvc file for
building (nmake /FMakefile.msvc) fiptool on the Windows.
Change-Id: Iccd1fe8da072edd09eb04b8622f27b3c4693b281
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
--- /dev/null
+#\r
+# Copyright (c) 2019, Arm Limited. All rights reserved.\r
+#\r
+# SPDX-License-Identifier: BSD-3-Clause\r
+#\r
+\r
+CC = cl.exe\r
+LD = link.exe\r
+\r
+FIPTOOL = fiptool.exe\r
+OBJECTS = fiptool.obj tbbr_config.obj win_posix.obj\r
+\r
+INC = -I. -I..\..\include\tools_share\r
+CFLAGS = $(CFLAGS) /nologo /Za /Zi /c /O2 /MT\r
+\r
+all: $(FIPTOOL)\r
+\r
+$(FIPTOOL): $(OBJECTS)\r
+ $(LD) /INCREMENTAL:NO /debug /nodefaultlib:libc.lib /out:$@ $(LIBS) $**\r
+\r
+.PHONY: clean realclean\r
+\r
+clean:\r
+ del /f /q $(OBJECTS) > nul\r
+\r
+realclean:\r
+ del /f /q $(OBJECTS) $(FIPTOOL) > nul\r
+\r
+.c.obj:\r
+ $(CC) -c $(CFLAGS) $(INC) $< -Fo$@\r