From 1e7b1ef3bcb996642590a6bfc6c6a893bfbc8805 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 9 Oct 2014 21:45:17 +0200 Subject: [PATCH] Fix Makefile The Makefile referred to non-existing files such as doc_parse.py from the original project. Let's remove them. --- blocks/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/blocks/Makefile b/blocks/Makefile index eec214f..660f50a 100644 --- a/blocks/Makefile +++ b/blocks/Makefile @@ -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 $< > $@ -- 2.39.2