general4

来自「make debug tool. You can use this tool t」· 代码 · 共 32 行

TXT
32
字号
#                                                                    -*-perl-*-$description = "\This tests random features of make's algorithms, often somewhat obscure,which have either broken at some point in the past or seem likely tobreak.";open(MAKEFILE,"> $makefile");# The contents of the Makefile ...print MAKEFILE <<'EOF';# Make sure that subdirectories built as prerequisites are actually handled# properly.all: dir/subdir/file.adir/subdir: ; @echo mkdir -p dir/subdirdir/subdir/file.b: dir/subdir ; @echo touch dir/subdir/file.bdir/subdir/%.a: dir/subdir/%.b ; @echo cp $< $@EOFclose(MAKEFILE);&run_make_with_options($makefile,"",&get_logfile);$answer = "mkdir -p dir/subdir\ntouch dir/subdir/file.b\ncp dir/subdir/file.b dir/subdir/file.a\n";&compare_output($answer,&get_logfile(1));1;

⌨️ 快捷键说明

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