Fix Makefile and add list task