How to match double stem in target like %/% or other way?
问题 I need to build targets with names like, v1/thread4/foo v1/thread8/foo v1/thread16/foo v2/thread4/foo v2/thread8/foo v2/thread16/foo I want to match the thread% and v% , because for my code, the threadNum=? and the Version=? are the Macros need to define in the compile time. so in the result, I hope to get a layout like, and the foo is the executable name v1-|thead4/foo |thead8/foo |thead16/foo v2-|thead4/foo |thead8/foo |thead16/foo I've tried ways like, it doesn't work %/%/foo: foo.cc $