Differences From Artifact [0703d3d39e]:
- File mttroot/mtt/lib/rep/sfun_rep/Makefile — part of check-in [e521a22e53] at 2002-05-10 13:47:51 on branch origin/master — *** empty log message *** (user: geraint@users.sourceforge.net, size: 405) [annotate] [blame] [check-ins using] [more...]
To Artifact [f2177a72f4]:
- File
mttroot/mtt/lib/rep/sfun_rep/Makefile
— part of check-in
[d9e3b30dc2]
at
2002-05-15 14:22:26
on branch origin/master
— Code for Simulink S-function target written direct to sfun.cc instead of
calling .mexglx files. This eliminates the sfun dependency on Octave
ColumnVectors. sys_sfun.cc should build directly on a MS Windows machine
(can't test this yet).added sfun.zip target to create source code to export. (user: geraint@users.sourceforge.net, size: 705) [annotate] [blame] [check-ins using] [more...]
1 2 | #! /usr/bin/make -f | | | | | > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #! /usr/bin/make -f SRC = $(SYS)_sfun.cc $(SYS)_def.h $(SYS)_ae.sfun $(SYS)_ode.sfun $(SYS)_odeo.sfun $(SYS)_state.sfun all: $(SYS)_sfun.mexglx $(SYS)_sfun.mexglx: $(SRC) mex $(SYS)_sfun.cc $(SYS)_sfun.cc:: ${MTT_REP}/sfun_rep/sfun.cc.tmpl cat $^ | sed 's/<mtt_model_name>/$(SYS)/g' > $@ $(SYS)_sfun.zip: $(SRC) zip $@ $^ $(SYS)_ae.sfun: $(SYS)_ae.m ${MTT_CC}/mtt_m2cc.sh $(SYS) ae sfun cat $(SYS)_ode.sfun: $(SYS)_ode.m ${MTT_CC}/mtt_m2cc.sh $(SYS) ode sfun cat $(SYS)_odeo.sfun: $(SYS)_odeo.m ${MTT_CC}/mtt_m2cc.sh $(SYS) odeo sfun cat $(SYS)_state.sfun: $(SYS)_state.m ${MTT_CC}/mtt_m2cc.sh $(SYS) state sfun cat %:: mtt -q $(OPTS) `echo $* | sed 's/\(.*\)_\(.*\)\.\(.*\)/\1 \2 \3/'` |