Robust makefile