Automatic generation of defaults.h in makefile