version 1.2, 2003/01/11 12:39:11 |
version 1.3, 2003/01/12 02:36:49 |
|
|
# -*- mode: Makefile -*-
|
# -*- mode: Makefile -*-
|
# $OpenXM: OpenXM/src/ox_math/Makefile.cygwin,v 1.1 2002/08/15 02:31:52 ohara Exp $
|
# $OpenXM: OpenXM/src/ox_math/Makefile.cygwin,v 1.2 2003/01/11 12:39:11 ohara Exp $
|
|
|
OpenXM_HOME=../..
|
OpenXM_HOME=../..
|
|
|
PREFIX = /usr/local
|
PREFIX = /usr/local
|
SYS =
|
SYS =
|
ADDONSDIR = mathlink/mldev32
|
ADDONSDIR = mathlink/ml
|
MPREP = ${ADDONSDIR}/bin/mprep
|
MPREP = ${ADDONSDIR}/mprep
|
|
|
LN = ln -s
|
LN = ln -s
|
CC = gcc
|
CC = gcc
|
DEFS = -DDEBUG -mwindows -DWIN32_MATHLINK
|
DEFS = -DDEBUG -mwindows -DWIN32_MATHLINK
|
CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR}/include -I${OpenXM_HOME}/include
|
CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_HOME}/include
|
LIBS = -L${OpenXM_HOME}/lib -L${ADDONSDIR}/lib -lox -lgmp -lml32i1 -lml32i2 -lm
|
LIBS = -L. -L${OpenXM_HOME}/lib -L${ADDONSDIR} -lox -lgmp -lml32i1 -lml32i2 -lm
|
STATIC_LINK_FLAGS = -e _mainCRTStartup
|
STATIC_LINK_FLAGS = -e _mainCRTStartup
|
|
|
|
|
Line 56 install-for-debug: ${BINARIES} |
|
Line 56 install-for-debug: ${BINARIES} |
|
done
|
done
|
|
|
clean-for-debug:
|
clean-for-debug:
|
(cd ${OpenXM_HOME}/bin; rm -f ${BINARIES})
|
(cd ${OpenXM_HOME}/bin; rm -f ${BINARIES} *.exe)
|
|
|
clean-binary: clean-for-debug
|
clean-binary: clean-for-debug
|
|
|
clean:
|
clean:
|
-rm -f *.o *~ math2.c ox_math math2ox
|
-rm -f *.o *~ math2.c ${BINARIES} *.exe
|
|
|
distclean: clean
|
distclean: clean
|
-rm -f .configure_done configure config.cache config.log config.status Makefile
|
-rm -f .configure_done configure config.cache config.log config.status Makefile
|
|
-rm -rf mathlink/ml mathlink/.configure_done
|