我经常发现Bash语法非常有用,例如像中的流程替换diff <(sort file1) <(sort file2)。
是否可以在Makefile中使用此类Bash命令?我在想这样的事情:
file-differences:
diff <(sort file1) <(sort file2) > $@
在我的GNU Make 3.80中,这将产生错误,因为它使用shell而不是bash执行命令。
慕仙森
慕妹3242003
慕慕森
森栏
随时随地看视频慕课网APP