forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGNUmakefile
92 lines (70 loc) · 2.04 KB
/
GNUmakefile
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
AMREX_HOME ?= ../../..
TOP = $(AMREX_HOME)
USE_EB =FALSE
#
# Variables for the user to set ...
#
PRECISION = DOUBLE
DEBUG = TRUE
DEBUG = FALSE
DIM = 3
#DIM = 2
#DIM = 1
COMP = g++
#USE_MPI = TRUE
USE_MPI = FALSE
#
# Base name of the executable.
#
#EBASE = Add
### this has no main EBASE = ComputeAmrDataNorms
EBASE = ComparePlotfiles
#EBASE = DiffFab
#EBASE = DiffSameDomainRefined
#EBASE = DiffSameDomainRefinedComposite
#EBASE = DiffSameDomainRefinedStag
#EBASE = DiffSameGrid2
#EBASE = DiffSameGrid
#EBASE = DiffSameGridRefined
#EBASE = DiffUniform
#EBASE = PltFileNormB
#EBASE = PltFileNorm
#EBASE = PltFileScalConvRate
#EBASE = RichardsonConvergenceTest
CEXE_sources += $(EBASE).cpp
include $(AMREX_HOME)/Tools/GNUMake/Make.defs
DEFINES += -DBL_NOLINEVALUES -DBL_PARALLEL_IO
include Make.package
include $(AMREX_HOME)/Src/Base/Make.package
include $(AMREX_HOME)/Src/Boundary/Make.package
#include $(AMREX_HOME)/Src/Amr/Make.package
include $(AMREX_HOME)/Src/Extern/amrdata/Make.package
INCLUDE_LOCATIONS += .
INCLUDE_LOCATIONS += ..
vpathdir += ..
INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Base
vpathdir += $(AMREX_HOME)/Src/Base
INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Boundary
vpathdir += $(AMREX_HOME)/Src/Boundary
INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Amr
vpathdir += $(AMREX_HOME)/Src/Amr
INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Extern/amrdata
vpathdir += $(AMREX_HOME)/Src/Extern/amrdata
INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Extern/ProfParser
vpathdir += $(AMREX_HOME)/Src/Extern/ProfParser
CEXE_sources += AMReX_BCRec.cpp
CEXE_headers += AMReX_BCRec.H AMReX_BC_TYPES.H
vpath %.c : . $(vpathdir)
vpath %.h : . $(vpathdir)
vpath %.cpp : . $(vpathdir)
vpath %.H : . $(vpathdir)
vpath %.F : . $(vpathdir)
vpath %.f : . $(vpathdir)
vpath %.f90 : . $(vpathdir)
all: $(executable)
include $(AMREX_HOME)/Tools/GNUMake/Make.rules
#include $(TOP)/Tools/GNUMake/Make.defs ./Make.package
#ifeq ($(USE_ARRAYVIEW),TRUE)
# DEFINES += -DBL_USE_ARRAYVIEW
# DEFINES += -DBL_ARRAYVIEW_TAGBOX
#endif