OS = linux #---- compilers ---- export G77 = gfortran #export G77 = gfortran export CC = gcc # export CXX = c++ export AS = as # these are the lines to change:------- export JDK_ROOT=/usr/lib/jvm/java-1.8.0 export MRUI_ROOT=/home/helene/work/jmrui export LIB_DIR=/usr/lib64 # #---- global variables ---- export DEBUG= -g -O -fPIC -m64 export CXXFLAGS = $(DEBUG) -ansi export CFLAGS = $(DEBUG) -ansi #-D_REENTRANT # export FFLAGS = $(DEBUG) -fugly -complex -fno -f90 -D_REENTRANT export FFLAGS = $(DEBUG) -fno-underscoring #-D_REENTRANT export INCLUDE=-I. -I$(JDK_ROOT)/include/$(OS) -I$(JDK_ROOT)/include export LIBCFLAGS = -lfftw3 export LDFLAGS = -shared export LDLIBS = -L$(LIB_DIR) # WARNING!!! The following line should NOT be used to compile a library # using Fortran code export LIB_LDLIBS = -llapack -lblas /usr/lib/libf2c.a -lm -lc -ldfftw #---- Directories used by the MRUI: # QUANTITATION_DIR = mrui/quantitation # PREPRO_DIR = mrui/preprocessing # GABOR_DIR = mrui/modeGabor # UTILS_DIR = mrui/utils # MRSI_DIR = mrui/mrsi # CONVERSION_DIR = mrui/conversion # GRAPH_DIR = mrui/graph # DESIGN_DIR = mrui/design # HISTO_DIR = mrui/history # SIMU_DIR = mrui/simulation # QUANTI_DIR = mrui/quantitation # MODE1D_DIR = mrui/mode1dTS # NMR2D_DIR = mrui/nmr2d export QUANTITATION_DIR = cquest/quantitation export PREPRO_DIR = cquest/preprocessing export UTILS_DIR = cquest/utils export GABOR_DIR = cquest/modeGabor export HSVD2D_DIR = cquest/nmr2d/hsvd2d export NMR2D_DIR = cquest/nmr2d export FFT_DIR = fft export BCH_DIR = cquest/simBch export SIMU_DIR = cquest/simulation export MAKEFILENAME = make -f Makefile.$(OS)