A bit more robust makefile