Overview
Comment:abg.m requires lbl.txt to allow units to be checked.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 927ce865577d45b651b80652539bc8fcd08992cc1c6cb289d0532b5ab695a8dd
User & Date: geraint@users.sourceforge.net on 2004-08-02 20:25:47
Other Links: branch diff | manifest | tags
Context
2004-08-03
06:17:20
Writes ports before components. check-in: 1ae865cee1 user: geraint@users.sourceforge.net tags: origin/master, trunk
2004-08-02
20:25:47
abg.m requires lbl.txt to allow units to be checked. check-in: 927ce86557 user: geraint@users.sourceforge.net tags: origin/master, trunk
09:33:25
Script to convert lbl.txt to cmp.m check-in: 487a38ee85 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [2a6481188c] to [dbbe566c77].

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)


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]