11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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.258 2000/09/11 08:17:28 peterg
## Extended _simp.r to incude default switches
##
## Revision 1.257 2000/09/02 15:53:53 peterg
## Now does partitioning up to dae.view
##
## Revision 1.256 2000/09/02 14:24:06 peterg
## -sub switch introduced - works up to dae.r
##
## Revision 1.255 2000/08/30 11:43:04 peterg
|
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
|
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
|
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
$1_rep.tex: $1_rep.txt $1_reps_made
rep_txt2tex $1 "$documenttype" "$directory";
#SUMMARY abg Acausal bond graph report (tex)
$1_abg.tex: $1_sub.sh
abg2tex $1
#SUMMARY tf Transfer function (mml)
$1_$2.mml: $1_$2.r
mtt_r2mml $1 $2
# Version control system - uses RCS
RCS:
echo Creating RCS
mkdir RCS
$1_$2.vc: RCS
echo Version control on $1_$2.$VCext
ci -I $1_$2.$VCext </dev/tty ; co -l $1_$2.$VCext
# Copy Pascal utilities
## sign.p:
## echo Copying sign.p; cp $MTTPATH/trans/p/sign.p .
## mtt_ludcmp.p:
## echo Copying mtt_ludcmp.p; cp $MTTPATH/trans/p/mtt_ludcmp.p .
## mtt_lubksb.p:
## echo Copying mtt_lubksb.p; cp $MTTPATH/trans/p/mtt_lubksb.p .
## mtt_sparse.p:
## echo Copying mtt_sparse.p; cp $MTTPATH/trans/p/mtt_sparse.p .
## mtt_write.p:
## echo Copying mtt_write.p; cp $MTTPATH/trans/p/mtt_write.p .
## mtt_implicit.p: mtt_solve_lud.p
## echo Copying mtt_implicit.p; cp $MTTPATH/trans/p/mtt_implicit.p .
## mtt_euler.p:
## echo Copying mtt_euler.p; cp $MTTPATH/trans/p/mtt_euler.p .
## mtt_solve_lud.p: mtt_ludcmp.p mtt_lubksb.p
## echo Copying mtt_solve_lud.p; cp $MTTPATH/trans/p/mtt_solve_lud.p .
## zero_vector.p:
## echo Copying zero_vector.p; cp $MTTPATH/trans/p/zero_vector.p .
## zero_matrix.p:
## echo Copying zero_matrix.p; cp $MTTPATH/trans/p/zero_matrix.p .
##
# Copy c utilities
##dsvdcmp.c: dpythag.c nrutil.c nrutil.h
## echo Copying dsvdcmp.c; cp $MTTPATH/trans/c/dsvdcmp.c .
##dpythag.c:
## echo Copying dpythag.c; cp $MTTPATH/trans/c/dpythag.c .
##nrutil.c:
## echo Copying nrutil.c; cp $MTTPATH/trans/c/nrutil.c .
##nrutil.h:
## echo Copying nrutil.h; cp $MTTPATH/trans/c/nrutil.h .
##sign.c:
## echo Copying sign.c; cp $MTTPATH/trans/c/sign.c .
EOF
# Remember the exit status of make
make_status=$?
# Tidy up.
# echo Removing log files and other garbage
rm -f *_unique_raw_list *_raw_list
|