Updated Makefile and reference file