Reorganize Makefile (close gh-10).