use makefile automate variables , $^
add cross compile and getline() change
del unused apps