13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (C) 2001 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.385 2004/08/02 20:25:47 geraint
## abg.m requires lbl.txt to allow units to be checked.
##
## Revision 1.384 2004/08/01 20:13:30 geraint
## ibg2abg transformation does not require lbl.txt (directly)
##
## Revision 1.383 2004/08/01 19:50:07 geraint
|
>
>
>
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright (C) 2001 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.386 2004/08/05 00:02:57 geraint
## Uses lbl2cmp_txt2m.pl to generate _cmp.m.
##
## Revision 1.385 2004/08/02 20:25:47 geraint
## abg.m requires lbl.txt to allow units to be checked.
##
## Revision 1.384 2004/08/01 20:13:30 geraint
## ibg2abg transformation does not require lbl.txt (directly)
##
## Revision 1.383 2004/08/01 19:50:07 geraint
|
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
|
endif
#SUMMARY abg acausal bond graph (m)
#Raw bond graph to acausal bond graph: mfile
ifneq ($start_at_abg,yes)
ifneq ($use_ibg,yes)
%_abg.m: %_abg.dia %_lbl.txt %_alias.m
abg_dia2m \$*
(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1
%_abg.m: %_rbg.m %_lbl.txt %_alias.m %_sub.sh %_icd.m %_cmp.m
(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1
rbg2abg_m $info_switch \$*
else
.PRECIOUS: %_ibg.m
%_ibg.m: %_abg.dia %_alias.m
abg2ibg_dia2m \$*
%_ibg.m: %_rbg.m
@echo "EXPERIMENTAL: Creating \$@"
rbg2ibg_m $info_switch \$*
%_abg.m: %_ibg.m %_lbl.txt %_cmp.m %_alias.m %_sub.sh %_icd.m
@echo "EXPERIMENTAL: Creating \$@"
(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1
ibg2abg_m $info_switch \$*
endif
endif
#SUMMARY cbg* causal bond graph (m)
|
|
|
|
|
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
|
endif
#SUMMARY abg acausal bond graph (m)
#Raw bond graph to acausal bond graph: mfile
ifneq ($start_at_abg,yes)
ifneq ($use_ibg,yes)
%_abg.m: %_abg.dia %_cmp.m %_lbl.txt %_alias.m
abg_dia2m \$*
(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1
%_abg.m: %_rbg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m
(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1
rbg2abg_m $info_switch \$*
else
.PRECIOUS: %_ibg.m
%_ibg.m: %_abg.dia %_alias.m
abg2ibg_dia2m \$*
%_ibg.m: %_rbg.m
@echo "EXPERIMENTAL: Creating \$@"
rbg2ibg_m $info_switch \$*
%_abg.m: %_ibg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m
@echo "EXPERIMENTAL: Creating \$@"
(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1
ibg2abg_m $info_switch \$*
endif
endif
#SUMMARY cbg* causal bond graph (m)
|