Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,18 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.342 2002/05/10 13:24:58 geraint +## Added initial support for building Simulink S-functions. +## Rates do not update properly yet. +## Inertial switches do not work yet. +## Implicit integration not supported yet. +## +## build with: mtt -i euler MotorGenerator sfun mexglx. +## ## Revision 1.341 2002/05/09 15:40:22 gawthrop ## -dr touches copied files to redo timestamp ## ## Revision 1.340 2002/05/08 22:13:47 geraint ## Removed redundant path from mtt_*.cc targets in mexglx build line. @@ -2144,10 +2152,11 @@ ${MTT_MATLAB_FLAGS} -DCODEGENTARGET=MATLABMEX \ ${MTT_CXXINCS} ${MTT_CXXLIBS} ${MTT_CXXFLAGS} mtt_kpathsea.cc mtt_matlab_octave.cc ## .cc files .PRECIOUS: %.cc # Don't let mtt delete them +.PRECIOUS: $1_%.cc # Don't let mtt delete them $1_%.cc: $1_%.m mtt_m2cc.sh $1 \$* cat mtt_%.cc: ${MTT_LIB}/cc/mtt_%.cc cp ${MTT_LIB}/cc/mtt_\$*.cc mtt_\$*.cc