Update Makefile

change Makefile format (optimization, warning)