1 SF=$(wildcard sfunction_*.c)
3 HTML = $(SF:%.c=%.html)
4 MEX = $(SF:%.c=%.mexa64)
11 MATLAB=$(shell cd $(dir $(shell readlink -f $$(which mex)))/..; pwd)
12 CAN_BLOCKS=sfunction_cantransmit.mexa64 sfunction_canreceive.mexa64
13 $(CAN_BLOCKS): CFLAGS=-I$(MATLAB)/toolbox/shared/can/src/scanutil -I$(MATLAB)/toolbox/rtw/targets/common/can/datatypes
14 $(CAN_BLOCKS): $(MATLAB)/toolbox/rtw/targets/common/can/datatypes/sfun_can_util.c $(MATLAB)/toolbox/rtw/targets/common/can/datatypes/can_msg.c
17 scripts/doc_parse.py --html $< > $@