Fix nmake cleanall bugs.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15887 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Yingke Liu 2014-08-25 05:00:34 +00:00 committed by yingke
parent b3d07ff8d2
commit b69fd59e6f
4 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,7 @@
## @file
# Windows makefile for C tools build.
#
# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
# 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
@ -68,7 +68,6 @@ clean:
.PHONY: cleanall
cleanall:
@Makefiles\NmakeSubdirs.bat cleanall $(LIBRARIES) $(APPLICATIONS)
@del /f /q $(BIN_PATH)\*.pdb $(BIN_PATH)\*.ilk
!INCLUDE Makefiles\ms.rule

View File

@ -1,6 +1,6 @@
## @file
#
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
# 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
@ -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

View File

@ -29,6 +29,7 @@ SUPPORT_OBJS = set.obj
$(EDK_TOOLS_PATH)\Bin\Win32\antlr.exe: $(ANTLR_OBJS) $(SUPPORT_OBJS)
$(CC) $(CFLAGS) -Feantlr.exe $(ANTLR_OBJS) $(SUPPORT_OBJS)
-@if not exist $(EDK_TOOLS_PATH)\Bin\Win32 mkdir $(EDK_TOOLS_PATH)\Bin\Win32
copy antlr.exe $(EDK_TOOLS_PATH)\Bin\Win32

View File

@ -26,8 +26,9 @@ SUPPORT_OBJS = set.obj
# Dependencies
dlg.exe: $(DLG_OBJS) $(SUPPORT_OBJS)
$(EDK_TOOLS_PATH)\Bin\Win32\dlg.exe: $(DLG_OBJS) $(SUPPORT_OBJS)
$(CC) $(CFLAGS) -Fedlg.exe $(DLG_OBJS) $(SUPPORT_OBJS)
-@if not exist $(EDK_TOOLS_PATH)\Bin\Win32 mkdir $(EDK_TOOLS_PATH)\Bin\Win32
copy dlg.exe $(EDK_TOOLS_PATH)\Bin\Win32
dlg_p.obj: $(DLG_SRC)\dlg_p.c \