[BACK]Return to Makefile.cygwin CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math

Diff for /OpenXM/src/ox_math/Makefile.cygwin between version 1.1 and 1.5

version 1.1, 2002/08/15 02:31:52 version 1.5, 2003/02/04 14:21:17
Line 1 
Line 1 
 # -*- mode: Makefile -*-  # -*- mode: Makefile -*-
 # $OpenXM$  # $OpenXM: OpenXM/src/ox_math/Makefile.cygwin,v 1.4 2003/01/15 05:13:10 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
   
   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}
   
   .SUFFIXES: .tm .c
   
   .tm.c:
           -rm -f $@
           ${MPREP} $? > $@
   
 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
         ${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_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}
   
 math2.c: math2.tm  
         -rm -f $@  
         ${MPREP} $? > $@  
   
 install: install-binary install-document  install: install-binary install-document
   
 install-document:  install-document:
Line 54  install-for-debug: ${BINARIES} 
Line 61  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 *~ ${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
           -rm -rf mathlink/ml mathlink/.configure_done

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>