8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.65 2004/08/29 13:14:29 geraint
## Added rule to make header for sae (sorted algebraic equations).
##
## Revision 1.64 2004/08/29 01:48:46 geraint
## Added rules to create headers for sorted systems: sesx and sesy.
##
## Revision 1.63 2004/08/28 22:08:41 geraint
|
>
>
>
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.66 2005/02/17 18:54:23 geraint
## Fixed a bash-sim: replaced let with $(( ))
##
## Revision 1.65 2004/08/29 13:14:29 geraint
## Added rule to make header for sae (sorted algebraic equations).
##
## Revision 1.64 2004/08/29 01:48:46 geraint
## Added rules to create headers for sorted systems: sesx and sesy.
##
## Revision 1.63 2004/08/28 22:08:41 geraint
|
922
923
924
925
926
927
928
929
930
931
932
933
934
935
|
#include "${system}_def.h"
#include "${system}_sympar.h"
// Code generation directives
#define STANDALONE 0
#define OCTAVEDLD 1
#define MATLABMEX 2
#ifndef CODEGENTARGET
#define CODEGENTARGET STANDALONE
#endif // CODEGENTARGET
${arg_type} ${system}_${rep} (
EOF
if [ -z ${args:-""} ]; then
|
>
|
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
|
#include "${system}_def.h"
#include "${system}_sympar.h"
// Code generation directives
#define STANDALONE 0
#define OCTAVEDLD 1
#define MATLABMEX 2
#define RTXI 3
#ifndef CODEGENTARGET
#define CODEGENTARGET STANDALONE
#endif // CODEGENTARGET
${arg_type} ${system}_${rep} (
EOF
if [ -z ${args:-""} ]; then
|