在这里阅读了大量的问答后,我无法识别我的targets.mk中任何缺少的标签,导致此错误:
../ targets.mk:84:***缺少分隔符。停止。
这里有一段代码摘录:
define CORNER_TEMPLATE
.PHONY : ${1}
${1} : ${BASEFILENAME}_${1}.lib
TARGET_FILES += ${BASEFILENAME}${1}.lib
${BASEFILENAME}${1}.lib : override TMPDIR = ${BASEFILENAME}.tmp
${BASEFILENAME}_${1}.lib : export LIBERATE_CHAR_CORNER_TXT = ${call LIBERATE_CHAR_CORNER, ${1}, ${CELLNAMES}}
${BASEFILENAME}_${1}.lib : export LIBERATE_CHAR_TCL_TXT = ${call LIBERATE_CHAR_TCL, ${TMPDIR}, ${1}}
${BASEFILENAME}_${1}.lib : ${addsuffix .spi, ${CELLNAMES}}
@mkdir -p ${TMPDIR}
@echo "$${LIBERATE_CHAR_CORNER_TXT}" > ${TMPDIR}/corner.tcl
@echo "$${LIBERATE_CHAR_TCL_TXT}" > ${TMPDIR}/char.tcl
@cat ${addsuffix .spi, ${CELLNAMES}} > ${TMPDIR}/liberate.spi
cd ${TMPDIR} && liberate char.tcl
@touch $$@
endef
Line 84:
${foreach CORNER, ${CORNERS}, ${eval ${call CORNER_TEMPLATE,${CORNER}}}}
${foreach CORNER, ${CORNERS}, ${eval ${call CORNER_TEMPLATE,${CORNER}}}}