added control to Makefile