1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>Makefile Source File
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
5 </head><body bgcolor=
"#ffffff">
6 <!-- Generated by Doxygen 1.2.11.1 -->
8 <a class=
"qindex" href=
"main.html">Main Page
</a> <a class=
"qindex" href=
"annotated.html">Compound List
</a> <a class=
"qindex" href=
"files.html">File List
</a> <a class=
"qindex" href=
"functions.html">Compound Members
</a> <a class=
"qindex" href=
"globals.html">File Members
</a> </center>
9 <hr><h1>Makefile
</h1><a href=
"Makefile.html">Go to the documentation of this file.
</a><div class=
"fragment"><pre>00001
10 00002 <font class=
"preprocessor">#########################################################################
</font>
11 00003 <font class=
"preprocessor"></font><font class=
"preprocessor"># WARNING : #
</font>
12 00004 <font class=
"preprocessor"></font><font class=
"preprocessor"># macro EXTRA_FLAGS must have been set when calling #
</font>
13 00005 <font class=
"preprocessor"></font><font class=
"preprocessor"># this make (if not set, default is
32 bits integers) #
</font>
14 00006 <font class=
"preprocessor"></font><font class=
"preprocessor"># OBJ_DIR must be set to the corresponding directory of objects #
</font>
15 00007 <font class=
"preprocessor"></font><font class=
"preprocessor">#########################################################################
</font>
16 00008 <font class=
"preprocessor"></font>
17 00009 <font class=
"preprocessor"># Parent makefile sets these values
</font>
18 00010 <font class=
"preprocessor"></font>
19 00011 <font class=
"preprocessor"># Choose one of these :
</font>
20 00012 <font class=
"preprocessor"></font><font class=
"preprocessor"># LINEAR_VALUE_IS_LONGLONG
</font>
21 00013 <font class=
"preprocessor"></font><font class=
"preprocessor"># LINEAR_VALUE_IS_LONG
</font>
22 00014 <font class=
"preprocessor"></font><font class=
"preprocessor"># LINEAR_VALUE_IS_FLOAT
</font>
23 00015 <font class=
"preprocessor"></font><font class=
"preprocessor"># LINEAR_VALUE_IS_CHARS (used for type checking)
</font>
24 00016 <font class=
"preprocessor"></font><font class=
"preprocessor"># LINEAR_VALUE_IS_INT
</font>
25 00017 <font class=
"preprocessor"></font><font class=
"preprocessor"># GNUMP (default)
</font>
26 00018 <font class=
"preprocessor"></font><font class=
"preprocessor">#EXTRA_FLAGS = -DLINEAR_VALUE_IS_LONGLONG -DLINEAR_VALUE_PROTECT_MULTIPLY \
</font>
27 00019 <font class=
"preprocessor"># -DLINEAR_VALUE_ASSUME_SOFTWARE_IDIV
</font>
28 00020 <font class=
"preprocessor"></font><font class=
"preprocessor">#OBJ_DIR = Obj.$(OSTYPE)
</font>
29 00021 <font class=
"preprocessor"></font>
30 00022 include ../vars.mk
32 00024 <font class=
"preprocessor">#CC = gcc
</font>
33 00025 <font class=
"preprocessor"></font><font class=
"preprocessor">#CFLAGS = -O4 -Wall -g
</font>
34 00026 <font class=
"preprocessor"></font><font class=
"preprocessor">#RANLIB = ranlib
</font>
35 00027 <font class=
"preprocessor"></font>
37 00029 LIB_CFILES= errors.c
39 00031 HEADERS=
<a class=
"code" href=
"assert_8h.html#a1">assert
</a>.h arithmetic_errors.h arithmetique.h
41 00033 LIB_OBJECTS= $(LIB_CFILES:%.c=$(OBJ_DIR)/%.o)
44 00036 $(OBJ_DIR)/arithmetique.a:: $(OBJ_DIR) $(LIB_OBJECTS) Makefile
45 00037 ar r $(OBJ_DIR)/arithmetique.a $(LIB_OBJECTS)
46 00038 $(RANLIB) $(OBJ_DIR)/arithmetique.a
49 00041 mkdir $(OBJ_DIR)
51 00043 $(LIB_OBJECTS): $(HEADERS) $(LIB_CFILES) Makefile
52 00044 $(CC) -c $(CFLAGS) $(*:$(OBJ_DIR)/%=%.c) -o $*.o
59 </pre></div><hr><address><small>Generated on Fri Oct
4 16:
14:
26 2002 for Polylib by
60 <a href=
"http://www.doxygen.org/index.html">
61 <img src=
"doxygen.gif" alt=
"doxygen" align=
"middle" border=
0
62 width=
110 height=
53></a>1.2.11.1 written by
<a href=
"mailto:dimitri@stack.nl">Dimitri van Heesch
</a>,
63 © 1997-
2001</small></address>