Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • this should work, are you sure you are not confusing the location of Optional?
    – perreal
    Commented Jan 8, 2013 at 3:36
  • 1
    Possible duplicate of How can I make a pattern rule dependency optional in a Makefile? Voting to close this way because the other has the right answer. Commented May 13, 2017 at 18:41
  • 1
    @CiroSantilli709大抓捕六四事件法轮功 this was asked two years before that one - wish someone had mentioned that I just needed a second dollars sign! $$(wildcard %Optional.xml) probably would have worked. Commented May 18, 2017 at 0:12
  • @austinmarton yes... correct answers improve the world a little bit :-) Commented May 18, 2017 at 5:32
  • despite the age difference, please accept the duplicate flag so seekers find the answer more quickly
    – xeruf
    Commented Nov 18, 2022 at 3:22