Added functionality to Makefile