Update Makefile

Define and use PYTHON_INCDIR, PYTHON_INCDIR and SWIG as variables so that they can be overwritten externally.
Merge pull request #154 from cmarqu/master

Generalize cosim Makefile for endian_swapper example