forked from nhm-usgs/prms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakelist
50 lines (41 loc) · 1.46 KB
/
makelist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#-------------------------------------------------------------------
# $Id: makelist 3545 2011-08-08 16:36:42Z rsregan $
#-------------------------------------------------------------------
#MOWSDIR = ./
#MMFDIR = $(MOWSDIR)/mmf
#PRMSDIR = $(MOWSDIR)/prms
#########################################################
# Configure tags for each system
##########################################################
ARC = LINUX
OPTLEVEL = -g
#OPTLEVEL = -O3 -Bstatic
LDFLAGS =$(OPTLEVEL)
##########################################################
# Define the Fortran compile flags
##########################################################
FFLAGS= $(OPTLEVEL) -fbounds-check -Wall -fno-second-underscore
#FFLAGS= $(OPTLEVEL) -Wall -fno-second-underscore
FC = gfortran
##########################################################
# Define the C compile flags
# -D_UF defines UNIX naming conventions for mixed language compilation.
##########################################################
CFLAGS = $(OPTLEVEL) -D$(ARC) -D_UF
CC = gcc
##########################################################
# Define the libraries
##########################################################
MATHLIB = -lm
GCLIB = -lgfortran -lgcc $(MATHLIB)
FLIBS = $(GCLIB)
##########################################################
# Unix system commands
##########################################################
RM = rm -f
AR = ar ruv
RANLIB = ranlib
MAKE = make
LN = ln -s
CD = cd
CP = cp