modified Makefile_pre for hierGraph