optimize makefile a bit for generated stuff