modify Makefile for CFLAGS
remove tmp file