move pthread
add makefile