Skip to content

Commit

Permalink
[bugfix] make/matlab.mak: fixes a bug causing the compilation to fail…
Browse files Browse the repository at this point in the history
… under Linux and MATLAB R2010
  • Loading branch information
vedaldi committed Jan 15, 2015
1 parent 191a626 commit 844abb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/matlab.mak
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ $(MEX_BINDIR)/matlabver.mak: $(mex-dir)
$(MATLAB_EXE) -nodesktop -nosplash -nojvm \
-r \
"f=fopen('$(MEX_BINDIR)/matlabver.mak','w');"\
"fprintf(f,'MATLAB_VER=%d\n',[1e4 1e2 1]*sscanf(version,'%d.%d.%d'));fclose(f);exit();"
"fprintf(f,'MATLAB_VER=%d',[1e4 1e2 1]*sscanf(version,'%d.%d.%d'));fclose(f);exit();"

ifdef MATLAB_PATH
ifeq ($(filter $(no_dep_targets), $(MAKECMDGOALS)),)
Expand Down

0 comments on commit 844abb0

Please sign in to comment.