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 126 by chuckv, Thu Oct 3 20:12:15 2002 UTC vs.
Revision 249 by chuckv, Mon Jan 27 21:28:19 2003 UTC

# Line 4 | Line 4 | CC = icc
4   OSS = $(strip $(OS))
5  
6  
7 < CC = icc
8 < CC_PLUS = icc
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 = icc
12 CFLAGS = -mp -tpp6 -O3
13 FFLAGS = -mp -tpp6 -O3
14
27   LD = ld
16 FLIBS =
28  
29 + #LIBDIR = $(HOME)/lib
30 + LIBDIR = ../lib
31 +
32 + ifeq ($(strip $(BUILD)), $(strip mpi))
33 +    
34 + CC = mpicc
35 + CC_PLUS = mpiCC
36 + FC = mpif90
37 +
38 + CFLAGS = -mp -DIS_MPI -I/usr/local/include
39 + FFLAGS = -mp -DIS_MPI -I/usr/local/include
40 +
41 + LIBNAME = libMPImdtools.a
42 +
43 + else
44 +
45 + CC = icc
46 + CC_PLUS = icc
47 + FC = ifc
48 +
49 + CFLAGS = -mp
50 + FFLAGS = -mp
51 +
52 + LIBNAME = libmdtools.a
53 +
54 + endif
55 +
56 + ifeq ($(strip $(WARN)), $(strip on))
57 + CFLAGS += -w2
58 + endif
59 +
60 + ifeq ($(strip $(DEBUG)), $(strip on))
61 + CFLAGS += -g
62 + FFLAGS += -g -u
63 + endif
64 +
65 + ifeq ($(strip $(TALKATIVE)), $(strip on))
66 + CFLAGS += -DCHECKPOINT_VERBOSE
67 + endif
68 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines