为什么运行会出现C:\Users\Administrator\Desktop\tcm2-simulator-master\tcm2-simulator\tpm2-sim-src\src>make -f makefile.mak debug
makefile.mak:98: *** multiple target patterns. Stop.
#################################################################################
# #
# Windows MinGW TPM2 Makefile OpenSSL 1.1.1 32-bit #
# Written by Ken Goldman #
# IBM Thomas J. Watson Research Center #
# $Id: makefile.mak 1540 2019-12-04 22:33:10Z kgoldman $ #
# #
# (c) Copyright IBM Corporation 2014 - 2019 #
# #
# All rights reserved. #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are #
# met: #
# #
# Redistributions of source code must retain the above copyright notice, #
# this list of conditions and the following disclaimer. #
# #
# Redistributions in binary form must reproduce the above copyright #
# notice, this list of conditions and the following disclaimer in the #
# documentation and/or other materials provided with the distribution. #
# #
# Neither the names of the IBM Corporation nor the names of its #
# contributors may be used to endorse or promote products derived from #
# this software without specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS #
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT #
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR #
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT #
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, #
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT #
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, #
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY #
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT #
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
#################################################################################
# Windows OpenSSL 1.1.1 32-bit with mingw
# Please contribute a solution for OpenSSL 64-bit (Shining Light),
# which does not include the mingw .a files.
# For this to work, copy the file .../openssl/bin/libcrypto-1.1.dll to
# libcrypto.dll. Please contribute a solution that does not require
# this step.
CC = "C:/Program Files/mingw64/bin/gcc.exe"
CCFLAGS = -Wall \
-Wnested-externs -ggdb -O0 -c \
-DTPM_WINDOWS \
-D__USE_MINGW_ANSI_STDIO \
-DRADIX_BITS=64 \
-I"c:/program files/mingw64/include" \
-I"C:/Program Files/OpenSSL/include" \
-I.
LNFLAGS = -D_MT \
-DTPM_WINDOWS \
-DRADIX_BITS=64 \
-I. \
-ggdb \
-L.
# Shining Light OpenSSL 1.1 32-bit
LNLIBS = -L"E:/evi" -lcrypto -lws2_32
all: tpm_server.exe
CRYPTO_SUBSYSTEM = openssl
include makefile-common
OBJFILES = ACTCommands.o ACT_spt.o AlgorithmCap.o AlgorithmTests.o AsymmetricCommands.o Attest_spt.o \
AttestationCommands.o AuditCommands.o Bits.o BnConvert.o BnMath.o BnMemory.o Cancel.o \
CapabilityCommands.o Clock.o ClockCommands.o CommandAudit.o CommandCodeAttributes.o \
CommandDispatcher.o ContextCommands.o Context_spt.o CryptDes.o CryptCmac.o CryptEccData.o \
CryptEccKeyExchange.o CryptEccMain.o CryptEccSignature.o CryptHash.o CryptPrime.o \
CryptPrimeSieve.o CryptRand.o CryptRsa.o CryptSelfTest.o CryptSmac.o CryptSym.o CryptUtil.o \
DA.o DebugHelpers.o DictionaryCommands.o DuplicationCommands.o EACommands.o EncryptDecrypt_spt.o \
Entity.o Entropy.o EphemeralCommands.o ExecCommand.o Global.o Handle.o HashCommands.o Hierarchy.o \
HierarchyCommands.o IoBuffers.o IntegrityCommands.o Locality.o LocalityPlat.o ManagementCommands.o \
Manufacture.o Marshal.o MathOnByteBuffers.o Memory.o NVCommands.o NVDynamic.o NVMem.o NVReserved.o \
NV_spt.o Object.o ObjectCommands.o Object_spt.o PCR.o PP.o PPPlat.o PlatformACT.o PlatformData.o \
Policy_spt.o Power.o PowerPlat.o PrimeData.o PropertyCap.o RandomCommands.o Response.o \
ResponseCodeProcessing.o RsaKeyCache.o RunCommand.o Session.o SessionCommands.o SessionProcess.o \
SigningCommands.o StartupCommands.o SymmetricCommands.o TPMCmdp.o TPMCmds.o TestingCommands.o \
Ticket.o Time.o TpmAsn1.o TpmFail.o TpmSizeChecks.o TpmToOsslDesSupport.o TpmToOsslMath.o \
TpmToOsslSupport.o Unique.o Unmarshal.o Vendor_TCG_Test.o X509_ECC.o X509_RSA.o X509_spt.o ntc2lib.o \
ntc2.o TcpServer.o
.PHONY: clean debug
tpm_server.exe: $(OBJFILES) applink.o
$(CC) $(LNFLAGS) $(OBJFILES) -o $@ applink.o $(LNLIBS)
debug:
@echo "OBJFILES=$(OBJFILES)"
@echo "LNLIBS=$(LNLIBS)"
clean:
rm -f *.o *.exe
怎么排除修正