version 1.3, 2003/01/12 02:36:49 |
version 1.4, 2003/01/15 05:13:10 |
|
|
# -*- mode: Makefile -*-
|
# -*- mode: Makefile -*-
|
# $OpenXM: OpenXM/src/ox_math/Makefile.cygwin,v 1.2 2003/01/11 12:39:11 ohara Exp $
|
# $OpenXM: OpenXM/src/ox_math/Makefile.cygwin,v 1.3 2003/01/12 02:36:49 ohara Exp $
|
|
|
OpenXM_HOME=../..
|
OpenXM_HOME=../..
|
|
|
Line 15 CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_H |
|
Line 15 CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_H |
|
LIBS = -L. -L${OpenXM_HOME}/lib -L${ADDONSDIR} -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
|
|
|
|
BINARIES = ox_math math2ox test1 test2
|
BINARIES = ox_math math2ox
|
|
INSTALL = /usr/bin/install -c
|
INSTALL = /usr/bin/install -c
|
INSTALL_PROGRAM = ${INSTALL}
|
INSTALL_PROGRAM = ${INSTALL}
|
|
|
Line 28 INSTALL_PROGRAM = ${INSTALL} |
|
Line 27 INSTALL_PROGRAM = ${INSTALL} |
|
|
|
all: ${BINARIES}
|
all: ${BINARIES}
|
|
|
|
test1: test1.o mlo.o
|
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ test1.o mlo.o ${LIBS}
|
|
|
|
test2: test2.o int.o
|
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ test2.o int.o ${LIBS}
|
|
|
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
|
|
|
clean-binary: clean-for-debug
|
clean-binary: clean-for-debug
|
|
|
clean:
|
clean:
|
-rm -f *.o *~ math2.c ${BINARIES} *.exe
|
-rm -f *.o *~ ${TM_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
|