Support Mathematica 9 MathLink directory location on Mac OS

Issue #2 resolved
Barry Wardell created an issue

Mathematica 9 requires

MLINKDIR ?= /Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/MacOSX-x86-64/CompilerAdditions 

instead of

MLINKDIR ?= /Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/CompilerAdditions

in the Makefile. We should use whichever of these exists.

Comments (3)

  1. Ian Hinder

    This sort of logic is difficult to achieve in a Makefile. Should we be thinking about using autoconf or similar? That also has the advantage that it is more familiar to people than editing the makefile fragment.

  2. Log in to comment