Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +# Revision 1.44 1996/11/12 16:04:25 peterg +# Really VERSION 2.1 +# # Revision 1.43 1996/11/12 08:52:57 peterg # Fixed bug in test arg to if - missing "". # # Revision 1.42 1996/11/11 17:23:03 peterg # Added numpar.m requirement to all .m targets @@ -167,11 +170,11 @@ done #Print header if not in quiet (-q) mode. if [ "$quiet" != "quiet" ]; then echo - echo 'MTT (Model Transformation Tools) version 2.1' + echo 'MTT (Model Transformation Tools) version 2.1++' echo 'This is free software with ABSOLUTELY NO WARRANTY.' echo 'Type `mtt warranty'\' 'for details.' echo fi @@ -240,11 +243,12 @@ # Clean up if [ "$1" = "clean" ] && [ "$2" = "" ]; then echo 'Removing all generated files for all systems' rm -f *.log mtt_info.txt warning.txt rm -f *_abg.m *_abg.ps *_args.* *_cr.r - rm -f *_rbg.* *_cmp.* *_fig.fig *_*cbg.* *_ese.* *_def.* *_sub.sh + rm -f *_rbg.* *_cmp.* *_fig.fig *_*cbg.* *_ese.* *_def.* + rm -f *_sub.sh *_type.sh rm -f *_dae*.* *_cse.* *_ode*.* *_obs.* *_rfe.* *_ss.* rm -f *_dm.* *_csm.* *_sm.* *_tf.* *_sr*.* *_ir*.* *_*fr.* rm -f *_numpar.m rm -f mtt_error.txt mtt_info.txt exit @@ -253,11 +257,12 @@ # Clean up named system if [ "$2" = "clean" ] && [ "$3" = "" ]; then echo 'Removing all generated files for system ' $1 rm -f *.log mtt_info.txt warning.txt rm -f $1_abg.m $1_abg.ps $1_args.* $1_cr.r - rm -f $1_rbg.* $1_cmp.* $1_fig.fig $1*_*cbg.* $1*_ese.* $1_def.* $1_sub.sh + rm -f $1_rbg.* $1_cmp.* $1_fig.fig $1*_*cbg.* $1*_ese.* $1_def.* + rm -f $1_sub.sh $1_type.sh rm -f $1_dae*.* $1_cse.* $1_ode*.* $1_obs.* $1_rfe.* $1_ss.* rm -f $1_dm.* $1_csm.* $1_sm.* $1_tf.* $1_sr*.* $1_ir*.* $1_*fr.* rm -f $1_numpar.m rm -f mtt_error.txt mtt_info.txt exit @@ -526,14 +531,16 @@ #SUMMARY cbg causal bond graph (m) #Acausal bond graph to causal bond graph: mfile $1_cbg.m: $1_abg.m abg2cbg_m $1 + +$1_type.sh: $1_cbg.m #SUMMARY cbg causal bond graph (fig) #Causal bond graph: mfile to fig conversion -$1_cbg.fig: $1_cbg.m $1_rbg.m $1_fig.fig +$1_cbg.fig: $1_cbg.m $1_rbg.m $1_fig.fig $1_type.sh cbg_m2fig $1 #SUMMARY ese elementary system equations (r) #SUMMARY def definitions - system orders etc. (r) #Elementary system equations + definitions