Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.289 2000/12/05 09:01:52 peterg +## Changed == to = +## ## Revision 1.288 2000/12/01 17:59:01 peterg ## Added .PRECIOUS: %.cc to hang on to cc files - thanks Geraint ## ## Revision 1.287 2000/12/01 16:04:24 peterg ## More partitioning achieved -- now needs the connections to be properly @@ -1795,11 +1798,11 @@ %.dvi: %.tex # MTT implicit rules ## .oct files ifneq ($2,ode2odes) -%.oct: %.cc $1_def.h $1_sympar.h +%.oct: %.cc $1_def.h $1_sympar.h $1_cr.h echo Creating $1_$2.oct; $MKOCTFILE $< endif ## .cc files @@ -1875,10 +1878,16 @@ fi #SUMMARY cr constitutive relationship for each subsystem (r) $1_cr.r: $1_cr.txt cr_txt2r $1 + +#SUMMARY cr constitutive relationship header (c) +$1_cr.h: + echo Creating $1_cr.h + echo "// CR headers for system $1" > $1_cr.h + # Cheat a bit and use the top level cr file for the subsystem as well ifneq ($sub,) $Subsystem_cr.r: $1_cr.r echo Creating $Subsystem_cr.r "(copying $1_cr.r)" cp $1_cr.r $Subsystem_cr.r