Differences From Artifact [2d2d71b59f]:

To Artifact [8abfc01f97]:


10
11
12
13
14
15
16




17
18
19
20
21
22
23
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+
+
+







# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.202  1999/02/17 01:59:20  peterg
## Now handles html copy correctely (ie mv directory to ..)
## Fixed path probs with html
##
## Revision 1.201  1999/02/16 03:50:09  peterg
## Removed explicit _smx targets
##
## Revision 1.200  1998/12/03 17:11:03  peterg
## Added -dc (derivative causality) switch.
##
## Revision 1.199  1998/12/03 16:53:50  peterg
684
685
686
687
688
689
690
691

692
693
694
695
696
697
698
688
689
690
691
692
693
694

695
696
697
698
699
700
701
702







-
+







###############################################################


#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"

#Version
version='3.4'
version='3.5'

# MTT recursion level is zero unless explicitly set
level=0

#Computation mode is octave by default
computation=octave

1512
1513
1514
1515
1516
1517
1518
1519

1520
1521

1522
1523
1524
1525
1526
1527
1528
1529

1530
1531
1532
1533
1534
1535
1536
1516
1517
1518
1519
1520
1521
1522

1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542







-
+


+








+







#SUMMARY numpar	numerical parameter declaration (view) 
$1_numpar.c:  $1_numpar.txt $1_sympar.c
	txt2c $1 numpar

#SUMMARY input	numerical input declaration  -- default (txt)
#SUMMARY state	numerical state declaration  -- default (txt)
ifeq ($steadystate_computation,yes)
$1_input.txt:
$1_input.txt: 
	mtt -q $1 ss r
	mtt -q $1 struc txt
	mtt -q $1 switch txt
	struc2input_txt2txt -ss $1
$1_state.txt:
	mtt -q $1 ss r
	mtt -q $1 struc txt
	struc2state_txt2txt -ss $1
else
$1_input.txt: 
	mtt -q $1 struc txt
	mtt -q $1 switch txt
	struc2input_txt2txt $1
$1_state.txt: 
	mtt -q $1 struc txt
	struc2state_txt2txt $1
endif


2331
2332
2333
2334
2335
2336
2337
2338

2339
2340
2341
2342
2343
2344
2345
2337
2338
2339
2340
2341
2342
2343

2344
2345
2346
2347
2348
2349
2350
2351







-
+







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
  rm -f mtt_error.txt mtt_info.txt a.out 
  rm -f mtt_error.txt mtt_info.txt 
  rm -f  mtt_info.txt warning.txt
#  rm -f *_*.idx *_*.ind *_*.ilg  *_*.lof *_*.toc

# Remove logs if not debugging
if [ "$debug" != "debug" ]; then
  rm -f *.log
else

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