Had the same issue. The problem was spaces instead of tabs as indents (I copied and pasted Makefile to PyCharm, that's why it probably switched the symbols). Switching indent symbols back solved the problem.