Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.212 1999/08/18 06:20:32 peterg +## Put -u back again ..... +## ## Revision 1.211 1999/08/17 04:10:38 peterg ## Removed the -u switch from cp - it doesnt work on non GNU cps ## ## Revision 1.210 1999/08/02 12:52:12 peterg ## Removed redundant .p copying. @@ -981,11 +984,11 @@ rm -f *_odes.c *_odes.dat *_odes.gdat *_odes.m *_odes.ps rm -f *_odeso.dat *_odeso.gdat *_odeso.sdat *_odeso.m *_odeso.ps rm -f *_*.doc *_*.idx *_*.ind *_*.ilg *_*.dvi *_*.aux *_*.lof *_*.toc rm -f *_rep.tex rm -f *_unique_raw_list *_raw_list - rm -f mtt_error.txt mtt_info.txt a.out + rm -f mtt_error.txt mtt_info.txt *_ode2odes.out rm -fR *_rep MTT_work exit fi # Clean up named system @@ -1005,11 +1008,11 @@ rm -f $1_odes.c $1_odes.dat $1_odes.gdat $1_odes.sdat $1_odes.m $1_odes.ps rm -f $1_odeso.dat $1_odeso.gdat $1_odeso.m $1_odeso.ps rm -f $1_*.doc $1_*.idx $1_*.ind $1_*.ilg $1_*.dvi $1_*.aux $1_*.lof $1_*.toc rm -f $1_rep.tex rm -f $1_unique_raw_list $1_raw_list - rm -f mtt_error.txt mtt_info.txt a.out + rm -f mtt_error.txt mtt_info.txt $1_ode2odes.out rm -fR $1_rep MTT_work exit fi if [ "$2" = "rep" ]; then @@ -2101,15 +2104,17 @@ $1_def.m $1_input.m $1_state.m $1_simpar.m time octave_ode2odes $1 endif ifeq ($computation,c) -$1_odes.dat2: $1_ode2odes.c +$1_ode2odes.out: $1_ode2odes.c + echo Creating $1_odes.out + $CC $1_ode2odes.c -lm -o $1_ode2odes.out + +$1_odes.dat2: $1_ode2odes.out echo Creating $1_odes.dat2 - echo 'Compiling ...' - $CC $1_ode2odes.c -lm - echo 'Running ...'; time ./a.out>$1_odes.dat2 ; echo 'Done.' + time ./$1_ode2odes.out>$1_odes.dat2 $1_sms.m: $1_sms.c $1_sm.c $1_numpar.c $1_simpar.h\ $1_sympar.c $1_sympar.h\ $1_numpar.c $1_input.c dsvdcmp.c