Can I have more than one % sign in a makefile target?
问题 So I have a makefile with a target dependency like this: all: $(foreach lang, $(LANGS), $(foreach models,$(MODELS),targetName$(model).xml$(lang))) and the targetName target looks like this: targetName%.xml%: MODEL\=% targetName.xml* But it doesn't work. I get this error: make[1]: *** No rule to make target `targetNameMYMODEL.xmlen', needed by `all'. Stop. however, calling 'all' with a hardcoded language in the targetName target like this works: all: $(foreach lang, $(LANGS), $(foreach models,