-
Notifications
You must be signed in to change notification settings - Fork 0
/
Make.CNS
44 lines (31 loc) · 1.03 KB
/
Make.CNS
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
AMREX_HOME := $(HOME)/amrex-21.06
TOP := $(HOME)/LRFPFCT-CPP
ifeq ($(LRFPFCT_REACTION),1)
EBASE := CNSreact
DEFINES += -DLRFPFCT_REACTION
else
EBASE := CNS
endif
DIM := 2
LAZY := TRUE
BL_NO_FORT = TRUE
include $(AMREX_HOME)/Tools/GNUMake/Make.defs
# CNS uses a coarse grained OMP approach
DEFINES += -DAMREX_CRSEGRNDOMP
include $(TOP)/Source/Make.package
INCLUDE_LOCATIONS += $(TOP)/Source
VPATH_LOCATIONS += $(TOP)/Source
include $(TOP)/Source/hydro/Make.package
INCLUDE_LOCATIONS += $(TOP)/Source/hydro
VPATH_LOCATIONS += $(TOP)/Source/hydro
include $(TOP)/Source/diffusion/Make.package
INCLUDE_LOCATIONS += $(TOP)/Source/diffusion
VPATH_LOCATIONS += $(TOP)/Source/diffusion
include $(TOP)/Source/reaction/Make.package
INCLUDE_LOCATIONS += $(TOP)/Source/reaction
VPATH_LOCATIONS += $(TOP)/Source/reaction
include $(AMREX_HOME)/Src/Base/Make.package
include $(AMREX_HOME)/Src/Boundary/Make.package
include $(AMREX_HOME)/Src/AmrCore/Make.package
include $(AMREX_HOME)/Src/Amr/Make.package
include $(AMREX_HOME)/Tools/GNUMake/Make.rules