-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
1,652 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
|
||
# Makefile for Clawpack code in this directory. | ||
# This version only sets the local files and frequently changed | ||
# options, and then includes the standard makefile pointed to by CLAWMAKE. | ||
CLAWMAKE = $(CLAW)/clawutil/src/Makefile.common | ||
|
||
# See the above file for details and a list of make options, or type | ||
# make .help | ||
# at the unix prompt. | ||
|
||
|
||
# Adjust these variables if desired: | ||
# ---------------------------------- | ||
|
||
CLAW_PKG = geoclaw # Clawpack package to use | ||
EXE = xgeoclaw # Executable to create | ||
SETRUN_FILE = setrun.py # File containing function to make data | ||
OUTDIR = _output # Directory for output | ||
SETPLOT_FILE = setplot.py # File containing function to set plots | ||
PLOTDIR = _plots # Directory for plots | ||
|
||
# Environment variable FC should be set to fortran compiler, e.g. gfortran | ||
FFLAGS ?= | ||
|
||
# --------------------------------- | ||
# package sources for this program: | ||
# --------------------------------- | ||
|
||
GEOLIB = $(CLAW)/geoclaw/src/2d/shallow | ||
include $(GEOLIB)/Makefile.geoclaw | ||
|
||
# --------------------------------------- | ||
# package sources specifically to exclude | ||
# (i.e. if a custom replacement source | ||
# under a different name is provided) | ||
# --------------------------------------- | ||
|
||
EXCLUDE_MODULES = \ | ||
|
||
EXCLUDE_SOURCES = \ | ||
|
||
# ---------------------------------------- | ||
# List of custom sources for this program: | ||
# ---------------------------------------- | ||
|
||
RIEMANN = $(CLAW)/riemann/src | ||
|
||
MODULES = \ | ||
|
||
SOURCES = \ | ||
$(RIEMANN)/rpn2_geoclaw.f \ | ||
$(RIEMANN)/rpt2_geoclaw.f \ | ||
$(RIEMANN)/geoclaw_riemann_utils.f \ | ||
|
||
#------------------------------------------------------------------- | ||
# Include Makefile containing standard definitions and make options: | ||
include $(CLAWMAKE) | ||
|
||
.PHONY: topo all | ||
|
||
# Construct the topography data | ||
topo: | ||
../bathy/get_bathy.py ../bathy/ | ||
|
||
-all: | ||
$(MAKE) topo | ||
$(MAKE) .plots | ||
|
||
|
||
### DO NOT remove this line - make depends on it ### | ||
|
Oops, something went wrong.