PROGRAM_NAME=gt_transport_mex
FLAGS=-largeArrayDims -O
ifneq ($(strip $(MEX_GXX_VER)),)
	FLAGS += CXX='$(MEX_GXX_VER)'
endif

$(PROGRAM_NAME): $(PROGRAM_NAME).cpp
	$(MATLAB_ROOT)/bin/mex $(FLAGS) $(PROGRAM_NAME).cpp

clean:
	rm -f ./$(PROGRAM_NAME).{mexa64,mexmaci64,log} ./cs2-4.3/COPYRIGHT-agreed.txt
