changes to makefile and adding cpw