#4 upgraded makefile to new interface