updated makefile, arg check