ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/Makefile.inc
(Generate patch)

Comparing trunk/mdtools/Makefile.inc (file contents):
Revision 159 by mmeineke, Wed Oct 30 22:38:18 2002 UTC vs.
Revision 183 by mmeineke, Thu Nov 21 20:33:02 2002 UTC

# Line 4 | Line 4 | CC = mpicc
4   OSS = $(strip $(OS))
5  
6  
7 < CC = mpicc
8 < CC_PLUS = mpiCC
7 > #  Here we decide whether the build is single or mutiple processor
8 >
9 > BUILD = mpi
10 > #BUILD = single
11 >
12 > # turn on compiler warnings
13 >
14 > #WARN = on
15 > WARN = off
16 >
17 > # turn on debuging
18 >
19 > #DEBUG = on
20 > DEBUG = off
21 >
22 > TALKATIVE = on
23 > #TALKATIVE = off
24 >
25   YC = bison
26   LC = flex
11 FC = mpif90
12 #CFLAGS = -g  -w2 -O2 -DIS_MPI -I/usr/local/include
13 CFLAGS = -g -w2 -O2 -DIS_MPI -I/usr/local/include
14 FFLAGS = -g -tpp6 -O3
15
27   LD = ld
17 FLIBS =
28  
29   LIBDIR = $(HOME)/lib
30 +
31 + ifeq ($(strip $(BUILD)), $(strip mpi))
32 +    
33 + CC = mpicc
34 + CC_PLUS = mpiCC
35 + FC = mpif90
36 +
37 + CFLAGS = -DIS_MPI -I/usr/local/include
38 + FFLAGS = -DIS_MPI -I/usr/local/include
39 +
40 + LIBNAME = libMPImdtools.a
41 +
42 + else
43 +
44 + CC = icc
45 + CC_PLUS = icc
46 + FC = ifc
47 +
48 + CFLAGS = -tpp6 -O3
49 + FFLAGS = -tpp6 -O3
50 +
51 + LIBNAME = libmdtools.a
52 +
53 + endif
54 +
55 + ifeq ($(strip $(WARN)), $(strip on))
56 + CFLAGS += -w2
57 + endif
58 +
59 + ifeq ($(strip $(DEBUG)), $(strip on))
60 + CFLAGS += -g
61 + FFLAGS += -g
62 + endif
63 +
64 + ifeq ($(strip $(TALKATIVE)), $(strip on))
65 + CFLAGS += -DCHECKPOINT_VERBOSE
66 + endif
67 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines