Ticket #19933: make.include.diff

File make.include.diff, 1.2 KB (added by max@…, 12 years ago)

Updated make.include.diff, moved DSDPFLAGS to make.include.diff

  • make.include

    old new  
    3232#DSDPTIMER  = DSDP_MS_TIME
    3333
    3434# STEP 3c: Add other compiler flags.
    35 DSDPCFLAGS =
     35DSDPCFLAGS = -DDSDP_TIME -I/usr/include/sys
    3636#DSDPCFLAGS = -Wall
    3737#DSDPCFLAGS = -DDSDPMATLAB
    3838#  Other flags concern BLAS and LAPACK libraries -- see next step.
     
    5555# Not needed to compile library or matlab executable
    5656# Needed to link DSDP library to the driver ( read SDPA files, maxcut example, ...)
    5757# Also include the math library and other libraries needed to link the BLAS to the C files that call them.
    58 LAPACKBLAS  = -llapack -lblas -lg2c -lm
     58LAPACKBLAS  = -llapack -lblas -lm
    5959#LAPACKBLAS  = -L/usr/lib/ -llapack -lblas -lg2c -lm
    6060#LAPACKBLAS  = -L/home/benson/ATLAS/Linux_P4SSE2/lib -llapack -lcblas -lf77blas -latlas -lg2c -lm
    6161#LAPACKBLAS  = -L/sandbox/benson/ATLAS-3.6/lib/Linux_P4SSE2  -llapack -lcblas -lf77blas -latlas -lg2c -lm
     
    6363
    6464
    6565# STEP 6, MATLAB MACROS - If compiling Matlab interface, check MEX flag.
    66 MEX           = mex -O
     66MEX           = mkoctfile --mex
    6767#MEX     = C:\Matlab\bin\mex
    6868DSDPMATLABDIR = ${DSDPROOT}/matlab
    6969