Skip to content

Commit

Permalink
add MATLAB_MEX_FILE in the makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Feb 26, 2021
1 parent 8f793a0 commit 8eba2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ mex: LINKOPT+=mcxlabcl.cpp -outdir $(OUTPUT_DIR) $(INCLUDEDIRS)

oct: BINARY=mcxcl.mex
oct: AR= CXXFLAGS='$(CPPOPT) $(MEXCCOPT) $(USERCCOPT)' LFLAGS='-g -L$(LIBOPENCLDIR) $(LIBOPENCL)' LDFLAGS='$(LFLAGS)' mkoctfile
oct: LINKOPT=--mex mcxlabcl.cpp $(INCLUDEDIRS)
oct: LINKOPT=--mex -DMATLAB_MEX_FILE mcxlabcl.cpp $(INCLUDEDIRS)

OBJS := $(addsuffix $(OBJSUFFIX), $(FILES))
CLSOURCE := $(addsuffix $(CLHEADER), $(CLPROGRAM))
Expand Down

0 comments on commit 8eba2cd

Please sign in to comment.