1 SF=$(wildcard sfunction_*.c)
3 MEX = $(SF:%.c=%.mexa64)
10 MATLAB=$(shell cd $(dir $(shell readlink -f $$(which mex)))/..; pwd)
11 CAN_BLOCKS=sfunction_cantransmit.mexa64 sfunction_canreceive.mexa64
12 $(CAN_BLOCKS): CFLAGS=-I$(MATLAB)/toolbox/shared/can/src/scanutil -I$(MATLAB)/toolbox/rtw/targets/common/can/datatypes
13 $(CAN_BLOCKS): $(MATLAB)/toolbox/rtw/targets/common/can/datatypes/sfun_can_util.c $(MATLAB)/toolbox/rtw/targets/common/can/datatypes/can_msg.c