X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FMakefiles%2Fms.app;h=37b7446584b14d8d03f9661000a1861e1ceda1c8;hb=84e076c861ef21931b9d6eb9e0ab6206f1ddb0b8;hp=455549c12126a06ebb824e3de2e524eb10ec01e1;hpb=f51461c829c124288a930829a78e2a5a799f4039;p=mirror_edk2.git diff --git a/BaseTools/Source/C/Makefiles/ms.app b/BaseTools/Source/C/Makefiles/ms.app index 455549c121..37b7446584 100644 --- a/BaseTools/Source/C/Makefiles/ms.app +++ b/BaseTools/Source/C/Makefiles/ms.app @@ -1,6 +1,7 @@ ## @file +# Makefile # -# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at @@ -8,8 +9,7 @@ # # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -!INCLUDE ..\Makefiles\ms.common +# APPLICATION = $(BIN_PATH)\$(APPNAME).exe @@ -17,9 +17,9 @@ all: $(APPLICATION) $(APPLICATION) : $(OBJECTS) -@if not exist $(BIN_PATH) mkdir $(BIN_PATH) - $(LD) /nologo /debug /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $** + $(LD) /nologo /debug /OPT:REF /OPT:ICF=10 /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $** -$(OBJECTS) : ..\Include\Common\BuildVersion.h +$(OBJECTS) : $(SOURCE_PATH)\Include\Common\BuildVersion.h .PHONY:clean .PHONY:cleanall @@ -28,7 +28,7 @@ clean: del /f /q $(OBJECTS) *.pdb > nul cleanall: - del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\*.pdb > nul + del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\$(APPNAME).pdb > nul -!INCLUDE ..\Makefiles\ms.rule +!INCLUDE $(SOURCE_PATH)\Makefiles\ms.rule