potentialventures/cocotb — pull request #34 by GordonMcGregor (2013-07-05 14:06:16+00:00)
Title: More generic makefiles and OS X support

This version compiles without any Makefile changes on OS X (10.8.2) and Linux (Red Hat 4.4.7-3)

Main changes were to pull linker and GCC args all up to makefiles/Makefile.inc rather than having anything set in the sub-Makefiles. Also use the current python executable, python-config and distutils packages to find the correct Python library and include paths, which makes it more portable.

Runs and builds on Python v 2.6 and 2.7