Updated Makefile with a snapshot feature