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.
如何创建与包含foo、likea/foo.h或的任何文件匹配的规则foo.c?双%标无效。
foo
a/foo.h
foo.c
%
FOOS := $(shell find . -name "*foo*") $(FOOS): @echo do something with $@