关键字“|”在 Makefile 先决条件
Keyword '|' in Makefile Prerequisites
下面的 MakeFile:
afl-fuzz: afl-fuzz.c | test_x86
gcc afl-fuzz.c -o afl-fuzz
“|”是什么意思在 test_x86
之前 ?
MakeFile 来自:https://github.com/loverszhaokai/AFL/blob/gcc_mode/Makefile
targets : normal-prerequisites | order-only-prerequisites
如果 order-only-prerequisites
更改,目标将不会更新。
参考:https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
下面的 MakeFile:
afl-fuzz: afl-fuzz.c | test_x86
gcc afl-fuzz.c -o afl-fuzz
“|”是什么意思在 test_x86
之前 ?
MakeFile 来自:https://github.com/loverszhaokai/AFL/blob/gcc_mode/Makefile
targets : normal-prerequisites | order-only-prerequisites
如果 order-only-prerequisites
更改,目标将不会更新。
参考:https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html