improved Makefile.6