-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathmake.osx
30 lines (25 loc) · 900 Bytes
/
make.osx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
#
# The machine (platform) identifier to append to the library names
#
SHELL = /bin/sh
PLAT = _UBUNTU
LAPACKDIR = /usr/local/atlas/lib/
LAPACKLIBS = ${LAPACKDIR}libatlas.so ${LAPACKDIR}liblapack.so ${LAPACKDIR}libptf77blas.so ${LAPACKDIR}libptcblas.so -lpthread
F2CLIB = -lgfortran
# Uncomment these lines to set up the MATLAB interface.
#MATLABLIBS = -lmat -lmx
#MATLABBASE=/cygdrive/c/MATLAB701/
#MATLABRUNLIBDIR=${MATLABBASE}/bin/win32
#MATLABLIBDIR=${MATLABBASE}/extern/lib/win32/gcc
#MATLABINCLUDE=${MATLABBASE}/extern/include
#MATLABXLINKFLAG=-L${MATLABLIBDIR} -Xlinker -rpath -Xlinker ${MATLABRUNLIBDIR}
#MATLABFLAG=-D_NDLMATLAB
INCLUDE = $(MATLABINCLUDE)
LD=g++
LDFLAGS = ${MATLABLIBS} ${LAPACKLIBS} ${F2CLIB} -lc ${MATLABXLINKFLAG}
CC=g++
CCFLAGS = -ggdb -DDBG -I$(INCLUDE) -D$(PLAT) $(MATLABFLAG)
#CCFLAGS = -O3 -I$(INCLUDE) -D$(PLAT)
FC=gfortran
FCFLAGS = -funroll-all-loops -O3