clean codes, update makefiles
Merge pull request #5 from liuct/update-stub-makes

clean codes, update makefiles