modify dw Makefile