makelevel
来自「make debug tool. You can use this tool t」· 代码 · 共 35 行
TXT
35 行
# -*-perl-mode-*-$description = "The following test creates a makefile to testmakelevels in Make. It prints \$(MAKELEVEL) and thenprints the environment variable MAKELEVEL";open(MAKEFILE,"> $makefile");# The Contents of the MAKEFILE ...print MAKEFILE <<EOF;SHELL = /bin/shall:\t\@echo MAKELEVEL is \$(MAKELEVEL)\techo \$\$MAKELEVELEOF# END of Contents of MAKEFILEclose(MAKEFILE);# RUN MAKE&run_make_with_options($makefile,"",&get_logfile);# SET ANSWER$answer = "MAKELEVEL is 0\necho \$MAKELEVEL\n1\n";# COMPARE RESULTS&compare_output($answer,&get_logfile(1));1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?