Reset platonic code.
[voro++.git] / branches / dynamic / config.mk
blob26ae7a95ded82ee358b5abc066899eee4db25ebe
1 #Voro++, a 3D cell-based Voronoi library
3 #Author : Chris H. Rycroft (LBL / UC Berkeley)
4 #Email : chr@alum.mit.edu
5 #Date : July 1st 2008
7 #This a common configuration file that includes definitions used by all
8 #the Makefiles.
10 #Compiler location and compiler switches. Add "-DFACETS_SINGLE_PRECISION" to
11 #switch the code from using double floating point arithmetic to just single.
12 #On a slower computer, it may be worth lowering the level of optimization to
13 #"-O2" or switching it off completely, to speed up the compilation. See
14 #config.hh for more details.
15 CC=g++
16 CFLAGS=-Wall -ansi -pedantic -O3
18 #These optional compiler flags for the GNU C++ compiler force more function
19 #inlining to take place. Since the code makes heavy use of inlined functions,
20 #this can result in marginally better performance. On Apple systems, including
21 #the "-fast" option can also create marginal improvements, but this option
22 #will break on some Linux and Cygwin systems.
23 #CFLAGS=-Wall -pedantic -O3 --param large-function-growth=1000 --param max-inline-insns-single=2000 -Winline