Updated makefile to work with pwd/tmp instead of /tmp