12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.4 1998/07/29 13:56:34 peterg
## Replces p2c include by local include.
##
## Revision 1.3 1998/07/27 20:32:51 peterg
## Now gives immediate warnings
##
## Revision 1.2 1998/07/25 16:35:43 peterg
|
>
>
>
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.5 1998/08/12 14:14:18 peterg
## Added pretty heading and explicitly include p2c header.
##
## Revision 1.4 1998/07/29 13:56:34 peterg
## Replces p2c include by local include.
##
## Revision 1.3 1998/07/27 20:32:51 peterg
## Now gives immediate warnings
##
## Revision 1.2 1998/07/25 16:35:43 peterg
|
71
72
73
74
75
76
77
78
79
80
81
82
|
cat <<EOF >> $1_$2.c
/* End of the header file. */
EOF
cat mtt_junk2 >> $1_$2.c
if [ -n "$info" ]; then
cat mtt_p2c.log
fi
|
>
|
|
74
75
76
77
78
79
80
81
82
83
84
85
86
|
cat <<EOF >> $1_$2.c
/* End of the header file. */
EOF
## The sed item is to avoid a bizzare bug (?) in p2c which corrupts "zero_matrix"
cat mtt_junk2 | sed 's/zero_matrix/mttmat/g'>> $1_$2.c
if [ -n "$info" ]; then
cat mtt_p2c.log
fi
|