# This makefile can be used to build all or some of the sample
# programs.  To build all of them, use the command
# 'make all'.  To build one, say addtwo, use the command
# 'make addtwo'.

VERSION=5.0
MLINKDIR = /home/adakkak/class/REU/mathlink
SYS = Linux
CADDSDIR = ${MLINKDIR}/CompilerAdditions

INCDIR = ${CADDSDIR}
LIBDIR = ${CADDSDIR}

MPREP = ${CADDSDIR}/mprep

all : fluidzMathlink

fluidzMathlink : fluidzMathlinktm.o fluidzMathlink.o
	${CC} -I${INCDIR} fluidzMathlinktm.o fluidzMathlink.o -L${LIBDIR} -lML -lm -o $@


.c.o :
	${CC} -c -I${INCDIR} $<

fluidzMathlinktm.c : fluidzMathlink.tm
	${MPREP} $? -o $@

