Makefile generatoin working for many projects