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 161 by mmeineke, Thu Oct 31 21:20:45 2002 UTC vs.
Revision 177 by mmeineke, Mon Nov 18 21:23:58 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   YC = bison
23   LC = flex
11 FC = mpif90
12 #CFLAGS = -g  -w2 -O2 -DIS_MPI -I/usr/local/include
13 CFLAGS = -g -O2 -DIS_MPI -I/usr/local/include
14 FFLAGS = -g -tpp6 -O3
15
24   LD = ld
17 FLIBS =
25  
26   LIBDIR = $(HOME)/lib
27 +
28 + ifeq ($(strip $(BUILD)), $(strip mpi))
29 +    
30 + CC = mpicc
31 + CC_PLUS = mpiCC
32 + FC = mpif90
33 +
34 + CFLAGS = -DIS_MPI -I/usr/local/include
35 + FFLAGS = -DIS_MPI -I/usr/local/include
36 +
37 + LIBNAME = libMPImdtools.a
38 +
39 + else
40 +
41 + CC = icc
42 + CC_PLUS = icc
43 + FC = ifc
44 +
45 + CFLAGS = -tpp6 -O3
46 + FFLAGS = -tpp6 -O3
47 +
48 + LIBNAME = libmdtools.a
49 +
50 + endif
51 +
52 + ifeq ($(strip $(WARN)), $(strip on))
53 + CFLAGS += -w2
54 + endif
55 +
56 + ifeq ($(strip $(DEBUG)), $(strip on))
57 + CFLAGS += -g
58 + FFLAGS += -g
59 + endif
60 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines