version 1.11, 2000/01/17 20:28:52 |
version 1.14, 2000/01/21 09:33:42 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM: OpenXM/src/ox_math/Makefile.linux,v 1.10 1999/12/15 05:40:21 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_math/Makefile.linux,v 1.13 2000/01/20 15:28:50 ohara Exp $ |
|
|
PREFIX=/usr/local |
PREFIX=/usr/local |
|
OpenXM_HOME=../.. |
|
|
MLINKDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits |
MLINKDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits |
SYS = Linux |
SYS = Linux |
Line 42 math2.c: math2.tm |
|
Line 43 math2.c: math2.tm |
|
-rm -f $@ |
-rm -f $@ |
${MPREP} $? > $@ |
${MPREP} $? > $@ |
|
|
install: ${BINARIES} |
install: install-binary install-document |
|
|
|
install-document: |
|
(cd documents; ${MAKE} install-document) |
|
|
|
install-binary: |
|
-if [ -x ${MPREP} ]; then \ |
|
${MAKE} install-binary-real ; \ |
|
fi |
|
|
|
install-binary-real: ${BINARIES} |
install -c -m 755 ${BINARIES} ${OpenXM_HOME}/bin/ |
install -c -m 755 ${BINARIES} ${OpenXM_HOME}/bin/ |
|
(cd lib; ${MAKE} install) |
|
|
install-for-debug: ${BINARIES} |
install-for-debug: ${BINARIES} |
-for i in ${BINARIES}; do \ |
-for i in ${BINARIES}; do \ |
ln -s -f ${OpenXM_HOME}/src/ox_math/$$i ${OpenXM_HOME}/bin ; \ |
ln -s -f ${OpenXM_HOME}/src/ox_math/$$i ${OpenXM_HOME}/bin ; \ |
done |
done |
|
|
clean-for-debug: |
clean-for-debug: |
(cd ${OpenXM_HOME}/bin; rm -f ${BINARIES}) |
(cd ${OpenXM_HOME}/bin; rm -f ${BINARIES}) |
|
|
|
clean-binary: clean-for-debug |
|
|
clean: |
clean: |
-rm -f *.o *~ libox.a libgmp.a math2.c ox_math math2ox |
-rm -f *.o *~ libox.a libgmp.a math2.c ox_math math2ox |