On Thu, 2022-09-22 at 10:54 +0200, Andreas Schwab wrote: > The issue is that the bison rule says it creates a %.output file, but > doesn't actually do that. > > %.tab.c %.tab.h %.output: %.y > @$(VECHO) BISON $@ > $(BISON) -b $(basename $(basename $@)) -d $< > > Note that no target actually depends on any *.output file.
Just to be clear when you say "the issue is" do you mean, if you remove the unnecessary %.output pattern you don't see the error anymore? That should be simple for us to test.