added functioning makefile