update makefile
1 thread add file
2 fix makefile bug