Merge pull request #2 from weijianzhang/master

Modify makefile for python
Merge pull request #3 from matrix-repository/master

add make extension to makefile