Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.346 2002/05/17 11:15:38 gawthrop +## Messages about copying when using -dr now only appear in verbose (-v) mode. +## ## Revision 1.345 2002/05/15 14:22:25 geraint ## 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). @@ -1492,11 +1495,11 @@ echo ' -abg start at abg.m representation' echo ' -c c-code generation' echo ' -cc C++ code generation' echo ' -cr Use cr before resolving equations' echo ' -d use directory ' - echo ' -dc Maximise derivative (not integral) causality' + echo ' -dr use files contained in ' echo ' -dc Maximise derivative (not integral) causality' echo ' -i Use implicit, euler, rk4 or dassl integration' echo ' -ae Solve algebraic equations with specified solver' echo ' -o ode is same as dae' echo ' -oct use oct files in place of m files where appropriate' @@ -1961,10 +1964,19 @@ Subsystem_subs=$Subsystem"_subs" Subsystem_cr=$Subsystem"_cr" Subsystem_cbg=$Subsystem"_cbg" ## Create the make target name +#if [ -z "${using_oct}" ]; then +# target=${sys}_${rep}.${lang} +#else +# if [ "${lang}" = "m" ]; then +# target=${sys}_${rep}.oct +# else +# target=${sys}_${rep}.${lang} +# fi +#fi target=${sys}_${rep}.${lang} ## Arguments ARGS=$4; _ARGS=-$4; __ARGS=`echo $_ARGS | tr ',' '-'`