Ferenc Wagner wferi@afavant.elte.hu writes:
My first implementation did exactly that. However, these pieces of information have their places in the depencency tree and I managed to screw up my build more often than not without the help of make. Beyond that, moving this little complexity out of the Makefile leads to much more complexity in a couple of other places. I did my best not to bother uninterested parties by these small files; I think they would go unnoticed. Are you still holding your position?
Btw the real solution to the ugliness would be the use of the .DELETE_ON_ERROR special target, isn't that portable?
No, it's not, and frankly I don't see why you would need that. Could you please explain a bit more what you are trying to do?