makefile实例:
if(-e $1) then
foreach cell (`awk '{print}' $1`)
make -f ./makefile CELLNAME=$cell $argv[2-]
end
else
make -f ./makefile CELLNAME=$1 $argv[2-]
endif
重点是makefile文件可以串行提升效率:
LAY_LIB = "AA"
SCH_LIB = "BB"
.PHONY info gds cdl drc lvs ... clean
info:
@echo "Please enter a cmd!"
gds:
@cd gds && run_extract_gds ${LAY_LIB} ${CELLNAME}
lvs:
@lvs && run_lvs_single ${CELLNAME} | tee -a lvs_result
clean:
@rm -rf drc/*.log
标签:gds,csh,lvs,LIB,makefile,实例,CELLNAME From: https://www.cnblogs.com/vincent-wood/p/18008270