Subversion Repositories gelsvn

Rev

Rev 114 | Rev 210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 114 Rev 178
Line 89... Line 89...
89
 
89
 
90
from the root of the source tree will cause first every library and
90
from the root of the source tree will cause first every library and
91
then every application to be remade. However, there are several
91
then every application to be remade. However, there are several
92
targets.
92
targets.
93
 
93
 
94
make all			 - equivalent to "make lib app"
94
make all			 - equivalent to "make lib shared test app"
95
 
95
 
96
make lib       - make all libraries
96
make lib       - make all libraries
97
 
97
 
-
 
98
make shared    - For the current target platform combination, a shared library
-
 
99
								 is created by stringing together the compiled static libraries
-
 
100
 
98
make app       - make all applications
101
make app       - make all applications
99
 
102
 
100
make clean     - clean all library directories and app directories.
103
make clean     - clean all library directories and app directories.
101
                 this removes only files pertaining to the current
104
                 this removes only files pertaining to the current
102
                 platform and target (release/debug). This also
105
                 platform and target (release/debug). This also
Line 107... Line 110...
107
make platform  - copies a template to OS_CPU_COMPILER.mk in the
110
make platform  - copies a template to OS_CPU_COMPILER.mk in the
108
                 makefiles directory. Use this only if you know what you
111
                 makefiles directory. Use this only if you know what you
109
								 are doing.
112
								 are doing.
110
 
113
 
111
make install   - Copies header files and libraries to the appropriate place
114
make install   - Copies header files and libraries to the appropriate place
112
							   which is /usr/local by default. The libraries which are
115
							   which is PREFIX=/usr/local by default. The libraries which
113
								 copied are either the debug or release versions depending
116
								 are copied are either the debug or release versions depending
114
								 on the active target. Right now, install does not install
117
								 on the active target. 
-
 
118
 
115
								 applications since many are little test programs that do
119
								 Install does not install applications since many are little
116
								 not belong in your path.
120
								 test programs that do not belong in your path.
117
 
121
 
118
 
122
 
119
Make'ing in subdirectories
123
Make'ing in subdirectories
120
--------------------------
124
--------------------------
121
 
125
 
Line 236... Line 240...
236
 
240
 
237
make
241
make
238
 
242
 
239
 
243
 
240
----------------------------------------------------------------------
244
----------------------------------------------------------------------
-
 
245
6. DEPENDENCIES IN GEL
-
 
246
----------------------------------------------------------------------
-
 
247
 
-
 
248
Each directory under src represents a library. There are some dependencies
-
 
249
between these libraries.
-
 
250
 
-
 
251
 
-
 
252
 
-
 
253
lib						depends on
-
 
254
-----------------------------------
-
 
255
CGLA 					nothing 
-
 
256
 
-
 
257
Util 					CGLA
-
 
258
 
-
 
259
LinAlg 				CGLA
-
 
260
 
-
 
261
Geometry 			LinAlg, CGLA
-
 
262
 
-
 
263
HMesh					CGLA, Util, Geometry, LinAlg (indirectly)
-
 
264
 
-
 
265
GLGraphics		Everything (since it contains general rendering
-
 
266
							facilities)
-
 
267
 
-
 
268
 
-
 
269
----------------------------------------------------------------------
241
6. TODO
270
7. TODO
242
----------------------------------------------------------------------
271
----------------------------------------------------------------------
243
 
272
 
244
- No real testing of blended C and C++.
273
- No real testing of blended C and C++.
245
- No dependency computation for .c 
274
- No dependency computation for .c 
246
 
275