added makefile and adjusted es.c argument accepting rules