extend the cm makefile