Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +# Revision 1.56 1997/03/05 08:24:09 peterg +# Delete a.out after it has run. +# # Revision 1.55 1997/02/24 19:31:10 peterg # Removed numpar.m requirement from .m files # ## Revision 1.54 1997/02/09 20:33:13 peterg ## Replaced a.out with ./a.out @@ -297,11 +300,11 @@ rm -f *_rbg.* *_cmp.* *_fig.fig *_*cbg.* *_ese.* *_def.* rm -f *_sub.sh *_type.sh rm -f *_dae*.* *_cse.* *_ode*.c *_ode*.m *_obs.* *_rfe.* *_ss.* rm -f *_dm.* *_csm.* *_sm.* *_tf.* *_sr*.* *_ir*.* *_*fr.* rm -f *_numpar.m *_numpar.c - rm -f mtt_error.txt mtt_info.txt + rm -f mtt_error.txt mtt_info.txt a.out exit fi # Clean up named system if [ "$2" = "clean" ] && [ "$3" = "" ]; then @@ -311,11 +314,11 @@ 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*.c $1_ode*.m $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 $1_numpar.c - rm -f mtt_error.txt mtt_info.txt + rm -f mtt_error.txt mtt_info.txt a.out exit fi # Invoke explicit requests for modification if [ "$2" = "abg" ] && [ "$3" = "fig" ]; then @@ -849,11 +852,11 @@ $1_odes.m: $1_odes.c $1_ode.c $1_numpar.c $1_odes.h $1_params.c $1_input.c echo Creating $1_odes.m echo Creating $1_odeso.m echo 'Compiling ...' gcc $1_odes.c $1_ode.c $1_numpar.c $1_params.c $1_input.c -lm - echo 'Running ...'; ./a.out; rm -f a.out; echo 'Done.' + echo 'Running ...'; ./a.out; echo 'Done.' endif $1_odeso.m: $1_odes.m touch $1_odeso.m $1_daes.m: $1_dae.m $1_numpar.m $1_params.m $1_args.m $1_def.m $1_input.m dae2daes_m $1 '$ARGS'