Skip to content

Commit

Permalink
update in-matlab compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jun 24, 2019
1 parent 68f35d0 commit a662701
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/compilezmat.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
if(~exist('OCTAVE_VERSION','builtin'))
mex zmat.cpp easylzma/easylzma-0.0.8/lib/libeasylzma_s.a -Ieasylzma/easylzma-0.0.8/include -outdir ../ CXXLIBS='$CXXLIBS -lz'
mex CFLAGS='$CFLAGS -O3 -g' -Ieasylzma/easylzma-0.0.8/include -c zmatlib.c
mex zmat.cpp zmatlib.o easylzma/easylzma-0.0.8/lib/libeasylzma_s.a -Ieasylzma/easylzma-0.0.8/include -outdir ../ CXXLIBS='$CXXLIBS -lz'
else
mex zmat.cpp easylzma/easylzma-0.0.8/lib/libeasylzma_s.a -Ieasylzma/easylzma-0.0.8/include -o ../zmat
mex -Ieasylzma/easylzma-0.0.8/include -c zmatlib.c
mex zmat.cpp zmatlib.o easylzma/easylzma-0.0.8/lib/libeasylzma_s.a -Ieasylzma/easylzma-0.0.8/include -o ../zmat
end

0 comments on commit a662701

Please sign in to comment.