version 1.4, 2003/01/15 05:13:10 |
version 1.7, 2005/07/19 10:43:21 |
|
|
# -*- mode: Makefile -*-
|
# -*- mode: Makefile -*-
|
# $OpenXM: OpenXM/src/ox_math/Makefile.cygwin,v 1.3 2003/01/12 02:36:49 ohara Exp $
|
# $OpenXM: OpenXM/src/ox_math/Makefile.cygwin,v 1.6 2003/09/10 20:04:58 ohara Exp $
|
|
|
OpenXM_HOME=../..
|
OpenXM_HOME=../..
|
|
|
|
|
CC = gcc
|
CC = gcc
|
DEFS = -DDEBUG -mwindows -DWIN32_MATHLINK
|
DEFS = -DDEBUG -mwindows -DWIN32_MATHLINK
|
CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_HOME}/include
|
CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_HOME}/include
|
LIBS = -L. -L${OpenXM_HOME}/lib -L${ADDONSDIR} -lox -lgmp -lml32i1 -lml32i2 -lm
|
LIBS = -L. -L${OpenXM_HOME}/lib -L${ADDONSDIR} -lox -lgc -lgmp -lml32i1 -lml32i2 -lm
|
STATIC_LINK_FLAGS = -e _mainCRTStartup
|
STATIC_LINK_FLAGS = -e _mainCRTStartup
|
|
|
BINARIES = ox_math math2ox test1 test2
|
BINARIES = ox_math math2ox test1 test2
|
Line 36 test2: test2.o int.o |
|
Line 36 test2: test2.o int.o |
|
serv1.o sm.o sm_ext.o mlo.o: sm.h
|
serv1.o sm.o sm_ext.o mlo.o: sm.h
|
|
|
ox_math: serv1.o sm.o sm_ext.o mlo.o
|
ox_math: serv1.o sm.o sm_ext.o mlo.o
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ sm.o sm_ext.o serv1.o mlo.o ${LIBS}
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ serv1.o sm.o sm_ext.o mlo.o ${LIBS}
|
|
|
math2ox: math2ox.o math2.o mlo.o sm.o sm_ext.o
|
math2ox: math2ox.o math2.o mlo.o
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ math2ox.o math2.o sm.o sm_ext.o mlo.o ${LIBS}
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ math2ox.o math2.o mlo.o ${LIBS}
|
|
|
install: install-binary install-document
|
install: install-binary install-document
|
|
|