11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## 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
## sorted in cbg2ese_r
##
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## 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
## sorted in cbg2ese_r
##
|
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
|
# Cancel implicit rules I don't want
%.dvi: %.tex
# MTT implicit rules
## .oct files
ifneq ($2,ode2odes)
%.oct: %.cc $1_def.h $1_sympar.h
echo Creating $1_$2.oct; $MKOCTFILE $<
endif
## .cc files
.PRECIOUS: %.cc # Don't let mtt delete them
ifneq ($2,ode2odes)
|
|
|
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
|
# Cancel implicit rules I don't want
%.dvi: %.tex
# MTT implicit rules
## .oct files
ifneq ($2,ode2odes)
%.oct: %.cc $1_def.h $1_sympar.h $1_cr.h
echo Creating $1_$2.oct; $MKOCTFILE $<
endif
## .cc files
.PRECIOUS: %.cc # Don't let mtt delete them
ifneq ($2,ode2odes)
|
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
|
if [ "$level" = "0" ]; then \
sort -u MTT_cr.txt> $1_cr.txt; \
fi
#SUMMARY cr constitutive relationship for each subsystem (r)
$1_cr.r: $1_cr.txt
cr_txt2r $1
# 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
endif
#SUMMARY cr constitutive relationship for each subsystem (tex)
|
>
>
>
>
>
>
|
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
|
if [ "$level" = "0" ]; then \
sort -u MTT_cr.txt> $1_cr.txt; \
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
endif
#SUMMARY cr constitutive relationship for each subsystem (tex)
|