First revision of generalized makefile templates