Overview
Comment:Builds Simulink .mdl as well as sys_sfun.mexglx.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d23074a21bab04b757850e7c2840198b538fe74e488857502cb34e8bfcdb56ea
User & Date: geraint@users.sourceforge.net on 2002-05-24 16:19:42
Other Links: branch diff | manifest | tags
Context
2002-05-25
09:23:47
Self-naming components: name is mttTYPE or mttTYPE_2 ... check-in: bef089cdef user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-24
16:19:42
Builds Simulink .mdl as well as sys_sfun.mexglx. check-in: d23074a21b user: geraint@users.sourceforge.net tags: origin/master, trunk
11:04:10
Removed unnecessary message about *.log file not existing when -D option is used. check-in: 16d5375ac8 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/rep/sfun_rep/Makefile from [cc2f9e7025] to [8d877b3018].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

all: $(SYS)_sfun.mexglx

$(SYS)_sfun.mexglx: $(SYS)_sfun.c sfun_debug.h $(SYS)_def.h $(SYS)_sympar.h $(SYS)_numpar.c $(SYS)_ode.c $(SYS)_odeo.c $(SYS)_state.c $(SYS)_sfun_ae.mexglx $(SYS)_sfun_input.mexglx $(SYS)_sfun_interface.mexglx
	echo Creating $@
	mex $(SYS)_sfun.c
	cp *_sfun*mexglx ..

$(SYS)_sfun.c:: ${MTT_REP}/sfun_rep/sfun.c.tmpl
	echo Creating $@
	cat $^ | sed 's/<mtt_model_name>/$(SYS)/g' > $@

$(SYS)_sfun_ae.mexglx: $(SYS)_sfun_ae.c $(SYS)_def.h $(SYS)_ae.c
	echo Creating $@




|


|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

all: $(SYS)_sfun.mexglx

$(SYS)_sfun.mexglx: $(SYS)_sfun.c sfun_debug.h $(SYS)_def.h $(SYS)_sympar.h $(SYS)_numpar.c $(SYS)_ode.c $(SYS)_odeo.c $(SYS)_state.c $(SYS)_sfun_ae.mexglx $(SYS)_sfun_input.mexglx $(SYS)_sfun_interface.mexglx $(SYS).mdl
	echo Creating $@
	mex $(SYS)_sfun.c
	cp *_sfun*mexglx $(SYS).mdl ..

$(SYS)_sfun.c:: ${MTT_REP}/sfun_rep/sfun.c.tmpl
	echo Creating $@
	cat $^ | sed 's/<mtt_model_name>/$(SYS)/g' > $@

$(SYS)_sfun_ae.mexglx: $(SYS)_sfun_ae.c $(SYS)_def.h $(SYS)_ae.c
	echo Creating $@


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]