I have a GNU make-based build system wherein I would like for any/all GNU make-detected circular dependencies to be treated as a hard error, i.e., fail [immediately], rather than a "dropped and we go on without it..." situation.

Is there a way to do this already?

I do NOT suggest to change default behaviour, as there are likely an uncountably-infinite number projects that accept/depend on current behaviour, but perhaps a command line option or a ".CIRCULARERROR:" rule or some way to allow this to be turned on by those who need it?

In my case, a circular dependency is a coding error in the Makefile's by the build-engineer, and I don't want it to slide by...

Thanks,
jzb

Reply via email to