edit makefile to correct wrong order debug