[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_cdd

Diff for /OpenXM/src/ox_cdd/Makefile between version 1.4 and 1.8

version 1.4, 2005/05/25 08:39:07 version 1.8, 2016/04/01 19:24:00
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/ox_cdd/Makefile,v 1.3 2005/05/25 06:43:44 noro Exp $  # $OpenXM: OpenXM/src/ox_cdd/Makefile,v 1.7 2015/02/21 06:20:36 ohara Exp $
   
 OpenXM_HOME=../..  OpenXM_HOME=../..
 OpenXM_LIBDIR=../../lib  OpenXM_LIBDIR=../../lib
 OpenXM_LIB = -L$(OpenXM_LIBDIR) -lox -lgc -lgmp  OpenXM_LIB = -L$(OpenXM_LIBDIR) -lox -lgc -lgmp -lmpfr
 INCLUDES = -I$(OpenXM_HOME)/include  INCLUDES = -I$(OpenXM_HOME)/include
 PREFIX=${OpenXM_HOME}  PREFIX=${OpenXM_HOME}
 DISTDIR=${OpenXM_HOME}/../OpenXM_dist  DISTDIR=${OpenXM_HOME}/../OpenXM_dist
 RM = /bin/rm  RM = /bin/rm
 MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/  MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/
 CDDLIB_TB=cddlib-093d.tar.gz  
 MVOL_TB=MixedVol.tar.gz  MVOL_TB=MixedVol.tar.gz
 CFLAGS = -g -Wall -finline-functions  CFLAGS = -g -Wall -finline-functions
 MVOLINCLUDE=work/MixedVol/SRC  MVOLINCLUDE=work/MixedVol/SRC
   
 GMPDEF = -DGMPRATIONAL  GMPDEF = -DGMPRATIONAL
   
 CDD=cddlib-093d  CDD=cddlib-094d
   CDDLIB_TB=$(CDD).tar.gz
 CDD_HOME= work/$(CDD)  CDD_HOME= work/$(CDD)
   
 CDD_LIB = -lcdd  CDD_LIB = -lcdd
Line 38  ox_cdd: $(CDDOBJ)
Line 38  ox_cdd: $(CDDOBJ)
         $(CC) $(CDDOBJ) $(LIBS) -o $@          $(CC) $(CDDOBJ) $(LIBS) -o $@
   
 ox_cddgmp: $(CDDOBJG)  ox_cddgmp: $(CDDOBJG)
         g++ $(CDDOBJG) $(LIBSG) -o $@          $(CXX) $(CDDOBJG) $(LIBSG) -o $@
   
 ox_sres: $(SRESOBJ)  ox_sres: $(SRESOBJ)
         g++ $(SRESOBJ) $(LIBS) -o $@          $(CXX) $(SRESOBJ) $(LIBS) -o $@
   
 ox_sresgmp: $(SRESOBJG)  ox_sresgmp: $(SRESOBJG)
         g++ $(SRESOBJG) $(LIBSG) -o $@          $(CXX) $(SRESOBJG) $(LIBSG) -o $@
   
 ox_cdd.o : ox_cdd.c  ox_cdd.o : ox_cdd.c
         $(CC) $(CFLAGS) $(INCLUDES) -c $<          $(CC) $(CFLAGS) $(INCLUDES) -c $<
   
 ox_cddgmp.o : ox_cdd.c  ox_cddgmp.o : ox_cdd.c
         $(CC) -o ox_cddgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c $<          $(CC) -o ox_cddgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c ox_cdd.c
   
 ox_sres.o : ox_sres.c  ox_sres.o : ox_sres.c
         $(CC) $(CFLAGS) $(INCLUDES) -c $<          $(CC) $(CFLAGS) $(INCLUDES) -c $<
   
 ox_sresgmp.o : ox_sres.c  ox_sresgmp.o : ox_sres.c
         $(CC) -o ox_sresgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c $<          $(CC) -o ox_sresgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c ox_sres.c
   
 cddlib.o : cddlib.c  cddlib.o : cddlib.c
         $(CC) $(CFLAGS) $(INCLUDES) -c $<          $(CC) $(CFLAGS) $(INCLUDES) -c $<
   
 cddlibgmp.o : cddlib.c  cddlibgmp.o : cddlib.c
         $(CC) -o cddlibgmp.o  $(CFLAGS) $(GMPDEF) $(INCLUDES) -c $<          $(CC) -o cddlibgmp.o  $(CFLAGS) $(GMPDEF) $(INCLUDES) -c cddlib.c
   
 mvol.o : mvol.cpp  mvol.o : mvol.cpp
         g++ $(CFLAGS) -I$(MVOLINCLUDE) -c $<          $(CXX) $(CFLAGS) -I$(MVOLINCLUDE) -c $<
   
 libs : ox gc libgmp cdd  libs : ox gc libgmp cdd
   
Line 121  extract: fetch
Line 121  extract: fetch
   
 patch: extract  patch: extract
         @if [ ! -f work/.patch_done ]; then \          @if [ ! -f work/.patch_done ]; then \
                 cd work/${CDD}; patch < ../../cddlib.patch ; \                  cd work/${CDD}; patch -p0 < ../../cddlib.patch ; \
         fi          fi
         @touch work/.patch_done          @touch work/.patch_done
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.8

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