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.383 2004/08/01 19:50:07 geraint
## Moved rules for ibg.m and abg.m so that -ibg can be used with dia models.
## Need to create cmp.m files before this combination will work.
##
## Revision 1.382 2003/09/23 20:53:49 geraint
## Updated version number (5.0).
##
|
>
>
>
|
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.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
## Moved rules for ibg.m and abg.m so that -ibg can be used with dia models.
## Need to create cmp.m files before this combination will work.
##
## Revision 1.382 2003/09/23 20:53:49 geraint
## Updated version number (5.0).
##
|
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
|
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 %_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 %_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)
|
|
|
|
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
|
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)
|