I have a Makefile that imports another Makefile that is generated by a target in the containing one. Something like the following:
more_makefile:
touch $@
include more_makefile
This process works fine, but you get a warning No such file or directory every time you hit the include line when more_makefile doesn’t exist, which can confuse newcomers. Is there a way to mask this warning?
Add a hyphen: