Commit | Line | Data |
---|---|---|
1d3c1faa BA |
1 | %compile C code (for MATLAB or Octave) |
2 | if exist('octave_config_info') | |
3 | setenv('CFLAGS','-O2 -std=gnu99 -fopenmp') | |
4 | mkoctfile --mex -DOctave -I../Util -I../ProcLassoMLE selectiontotale.c selectiontotale_interface.c ../Util/ioutils.c ../ProcLassoMLE/EMGLLF.c -o selectiontotale -lm -lgsl -lgslcblas -lgomp | |
5 | else | |
6 | mex CFLAGS="\$CFLAGS -O2 -std=gnu99 -fopenmp" -I../Util -I../ProcLassoMLE selectiontotale.c selectiontotale_interface.c ../Util/ioutils.c ../ProcLassoMLE/EMGLLF.c -output selectiontotale -lm -lgsl -lgslcblas -lgomp | |
7 | end |