Add 'mode' options to Makefile