⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dash-i

📁 Linux 下的编译工具
💻
字号:
#                                                                    -*-perl-*-$description ="The following test creates a makefile to test the -I option.";$details = "\This test tests the -I option by including a filename inanother directory and giving make that directory nameunder -I in the command line.  Without this option, the makewould fail to find the included file.  It also checks to makesure that the -I option gets passed to recursive makes.";$makefile2 = &get_tmpfile;open(MAKEFILE,"> $makefile");# The Contents of the MAKEFILE ...$mf2 = substr ($makefile2, index ($makefile2, $pathsep) + 1);print MAKEFILE <<EOF;include $mf2all:\t\@echo There should be no errors for this makefile.EOF# END of Contents of MAKEFILEclose(MAKEFILE);open(MAKEFILE,"> $makefile2");print MAKEFILE <<EOF;ANOTHER:\t\@echo This is another included makefilerecurse:\t\$(MAKE) ANOTHER -f $makefileEOFclose(MAKEFILE);&run_make_with_options($makefile,"-I $workdir all",&get_logfile);# Create the answer to what should be produced by this Makefile$answer = "There should be no errors for this makefile.\n";&compare_output($answer,&get_logfile(1));$answer = "This is another included makefile\n";&run_make_with_options($makefile,"-I $workdir ANOTHER",&get_logfile);&compare_output($answer,&get_logfile(1));$answer = "$mkpath ANOTHER -f $makefile${make_name}[1]: Entering directory `$pwd'This is another included makefile${make_name}[1]: Leaving directory `$pwd'\n";&run_make_with_options($makefile,"-I $workdir recurse",&get_logfile);&compare_output($answer,&get_logfile(1));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -