Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -14,10 +14,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.303 2001/04/10 12:54:50 gawthrop +## Minor fixes for sensitivity versions +## ## Revision 1.302 2001/04/06 05:24:30 geraint ## -stdin for .cc reps. ## ## Revision 1.301 2001/04/05 03:46:12 geraint ## Added mtt_prepend.sh, -p preserves time attribute of base file @@ -2872,11 +2875,11 @@ time octave_ode2odes $1 endif endif ifeq ($computation,c) -$1_ode2odes.out: $1_ode2odes.c +$1_ode2odes.out: $1_ode2odes.c $1_cr.h echo Creating $1_odes.out by compiling *.c $CC *.c -lp2c -lm -o $1_ode2odes.out $1_odes.dat2: $1_ode2odes.out echo Creating $1_odes.dat2 using c version Index: mttroot/mtt/bin/trans/mtt_p2c ================================================================== --- mttroot/mtt/bin/trans/mtt_p2c +++ mttroot/mtt/bin/trans/mtt_p2c @@ -14,10 +14,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.11 2001/03/29 19:24:14 gawthrop +## Can now use c representations of crs when using -c option +## ## Revision 1.10 2000/09/15 09:01:41 peterg ## Updated internal comments ## ## Revision 1.9 2000/05/16 18:56:58 peterg ## Now realised that libp2c.a avoids many probs - so simplified it. @@ -81,11 +84,13 @@ /* C program $1_$2.c */ /* Generated by MTT on $DATE */ /* Compile with gcc -lm -lp2c $1_$2.c -o $1_$2.out */ /* Note that p2c must be correctly installed so that p2c.h and libp2c.a are accessible */ -#include "$1.h" + +/* Header file for user-defined crs (implemented in c) */ +#include "$1_cr.h" EOF #cat<>$1_$2.c #/* The following is the header file included here for completeness */ #EOF