corrected problems in makefile and updated evaluation of lists