modify makefile rules