]> rtime.felk.cvut.cz Git - socketcan-simulink.git/commitdiff
Fix Makefile
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Oct 2014 19:45:17 +0000 (21:45 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Oct 2014 19:45:17 +0000 (21:45 +0200)
The Makefile referred to non-existing files such as doc_parse.py from the
original project. Let's remove them.

blocks/Makefile

index eec214f8a4f90b6beed825dbe31629918db16262..660f50a65a2663d7f6260c00d6345bdf53546624 100644 (file)
@@ -1,9 +1,8 @@
 SF=$(wildcard sfunction_*.c)
 
-HTML = $(SF:%.c=%.html)
 MEX = $(SF:%.c=%.mexa64)
 
-all: $(MEX) $(HTML)
+all: $(MEX)
 
 %.mexa64: %.c
        mex $(CFLAGS) $^
@@ -12,6 +11,3 @@ MATLAB=$(shell cd $(dir $(shell readlink -f $$(which mex)))/..; pwd)
 CAN_BLOCKS=sfunction_cantransmit.mexa64 sfunction_canreceive.mexa64
 $(CAN_BLOCKS): CFLAGS=-I$(MATLAB)/toolbox/shared/can/src/scanutil -I$(MATLAB)/toolbox/rtw/targets/common/can/datatypes
 $(CAN_BLOCKS): $(MATLAB)/toolbox/rtw/targets/common/can/datatypes/sfun_can_util.c $(MATLAB)/toolbox/rtw/targets/common/can/datatypes/can_msg.c
-
-%.html: %.c
-       scripts/doc_parse.py --html $< > $@