Adapt the Windows makefile template to source generation