fixed makefile for generators