3 # Copyright (c) 2001 Intel Corporation
5 # Module Name: makefile
9 # This file is used to build the EFI utility.
14 # Do this if you want to compile from this directory
17 TOOLCHAIN
= TOOLCHAIN_MSVC
20 !INCLUDE PlatformTools.env
23 # Define some macros we use here. Should get rid of them someday and
24 # get rid of the extra level of indirection.
26 COMMON_SOURCE
= $(EDK_TOOLS_COMMON
)
35 # Target specific information
38 TARGET_NAME
=ZeroDebugData
39 TARGET_SOURCE_DIR
= $(TIANO_TOOLS_SOURCE
)\
$(TARGET_NAME
)
41 TARGET_EXE
= $(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).exe
43 TARGET_EXE_SOURCE
= "$(TARGET_SOURCE_DIR)\ZeroDebugData.c"
56 $(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).obj
: $(TARGET_EXE_SOURCE
)
57 $(CC
) $(C_FLAGS
) $(INC
) $(TARGET_EXE_SOURCE
) /Fo
$(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).obj
59 $(TARGET_EXE
): $(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).obj
$(TARGET_EXE_LIBS
) $(TARGET_DLL
)
60 $(LINK
) $(MSVS_LINK_LIBPATHS
) $(L_FLAGS
) $(LIBS
) /out
:$(TARGET_EXE
) $(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).obj
$(TARGET_LIB
) $(TARGET_EXE_LIBS
)
63 @if exist
$(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).
* del
$(TIANO_TOOLS_OUTPUT
)\
$(TARGET_NAME
).
*