Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在终端上试过这个 g++ hello_world.cc -Iinclude /some/path/{file1,file2}.a,效果很好。但是,我将此行放入Makefile,它说file /some/path/{file1,file2}.a not found。似乎括号在 Makefile 中不起作用。
g++ hello_world.cc -Iinclude /some/path/{file1,file2}.a
目前尚不清楚您的问题是什么,但请尝试添加以下行:
SHELL=/bin/bash