VERSION=5.0 MLINKDIR = /Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/ SYS = Linux CADDSDIR = ${MLINKDIR}/CompilerAdditions INCDIR = ${CADDSDIR} LIBDIR = ${CADDSDIR} MPREP = ${CADDSDIR}/mprep all : mandelbrotMathlink mandelbrotMathlink : mandelbrotMathlinktm.o mandelbrotMathlink.o ${CC} -I${INCDIR} mandelbrotMathlinktm.o mandelbrotMathlink.o -L${LIBDIR} -lMLi3 -o $@ .c.o : ${CC} -c -I${INCDIR} $< mandelbrotMathlinktm.c : mandelbrotMathlink.tm ${MPREP} $? -o $@