added makefile & defined boolean if not already defined