CustomMakefile and removing warnings