3 # Copyright (c) 2001 Intel Corporation. All rights reserved.
5 # This software and associated documentation (if any) is furnished under
6 # a license and may only be used or copied in accordance with the terms
7 # of the license. Except as permitted by such license, no part of this
8 # software or documentation may be reproduced, stored in a retrieval
9 # system, or transmitted in any form or by any means without the express
10 # written consent of Intel Corporation.
12 # Module Name: makefile
16 # This file is used to build the EFI utility.
21 # Do this if you want to compile from this directory
24 TOOLCHAIN
= TOOLCHAIN_MSVC
27 !INCLUDE PlatformTools.env
30 # Target specific information
33 TARGET_NAME
= SecFixup
34 TARGET_SOURCE_DIR
= $(TIANO_TOOLS_SOURCE
)\
$(TARGET_NAME
)
35 TARGET_EXE
= $(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).exe
36 TARGET_EXE_SOURCE
= $(TARGET_SOURCE_DIR
)\
$(TARGET_NAME
).c
44 OBJECTS
= $(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).obj
50 $(OBJECTS
) : $(TARGET_EXE_SOURCE
) $(INC_DEPS
)
51 $(CC
) $(C_FLAGS
) $(TARGET_EXE_SOURCE
) /Fo
$@
53 $(TARGET_EXE
): $(OBJECTS
)
54 $(LINK
) $(MSVS_LINK_LIBPATHS
) $(L_FLAGS
) $(OBJECTS
) $(LIBS
) /out
:$(TARGET_EXE
)
57 @if exist
$(EDK_TOOLS_OUTPUT
)\
$(TARGET_NAME
).
* del
$(EDK_TOOLS_OUTPUT
)\
$(TARGET_NAME
).
* > NUL