Overview
Comment:Preserve .cc files.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: cf208f97b4710de2f8057b451e1942d6691c589e70d48a444a50d9d95157aa32
User & Date: geraint@users.sourceforge.net on 2002-05-10 14:07:16.000
Other Links: branch diff | manifest | tags
Context
2002-05-10
15:18:29
static mxArrays and void update_ functions replace mxArray* get_ functions.
Rates still don't update, but simulation doesn't crash now.
check-in: a89801b8c5 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:07:16
Preserve .cc files. check-in: cf208f97b4 user: geraint@users.sourceforge.net tags: origin/master, trunk
13:47:51
*** empty log message *** check-in: e521a22e53 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes
13
14
15
16
17
18
19








20
21
22
23
24
25
26
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34







+
+
+
+
+
+
+
+







# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.342  2002/05/10 13:24:58  geraint
## Added initial support for building Simulink S-functions.
## Rates do not update properly yet.
## Inertial switches do not work yet.
## Implicit integration not supported yet.
##
## build with: mtt -i euler MotorGenerator sfun mexglx.
##
## Revision 1.341  2002/05/09 15:40:22  gawthrop
## -dr touches copied files to redo timestamp
##
## Revision 1.340  2002/05/08 22:13:47  geraint
## Removed redundant path from mtt_*.cc targets in mexglx build line.
##
## Revision 1.339  2002/05/08 21:32:26  geraint
2142
2143
2144
2145
2146
2147
2148

2149
2150
2151
2152
2153
2154
2155
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164







+







	echo Creating $1_\$*.mexglx
	${MTT_CXX} -shared -o $1_\$*.mexglx $1_\$*.cc \
	${MTT_MATLAB_FLAGS} -DCODEGENTARGET=MATLABMEX \
	${MTT_CXXINCS} ${MTT_CXXLIBS} ${MTT_CXXFLAGS} mtt_kpathsea.cc mtt_matlab_octave.cc

## .cc files
.PRECIOUS: %.cc # Don't let mtt delete them
.PRECIOUS: $1_%.cc # Don't let mtt delete them
$1_%.cc:  $1_%.m
	mtt_m2cc.sh  $1 \$* cat 

mtt_%.cc: ${MTT_LIB}/cc/mtt_%.cc
	cp ${MTT_LIB}/cc/mtt_\$*.cc mtt_\$*.cc

mtt_%.hh: ${MTT_LIB}/cc/mtt_%.hh

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