forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
130 additions
and
64 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
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
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
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
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 |
---|---|---|
@@ -1,25 +1,66 @@ | ||
# Makefile template for FMS | ||
# Makefile template for autoconf builds using mkmf | ||
# | ||
# Compiler flags are configured by autoconf's configure script. | ||
# | ||
# Source code dependencies are configured by makedep and saved to Makefile.dep. | ||
# Source code dependencies are configured by mkmf and list_paths, specified in | ||
# the `Makefile.mkmf` file. | ||
# | ||
# mkmf conventions are close, but not identical, to autoconf. We attempt to | ||
# map the autoconf variables to the mkmf variables. | ||
# | ||
# The following variables are used by Makefiles generated by mkmf. | ||
# | ||
# CC C compiler | ||
# CXX C++ compiler | ||
# FC Fortran compiler (f77 and f90) | ||
# LD Linker | ||
# AR Archiver | ||
# | ||
# CPPDEFS Preprocessor macros | ||
# CPPFLAGS C preprocessing flags | ||
# CXXFLAGS C++ preprocessing flags | ||
# FPPFLAGS Fortran preprocessing flags | ||
# | ||
# CFLAGS C compiler flags | ||
# FFLAGS Fortran compiler flags | ||
# LDFLAGS Linker flags + libraries | ||
# ARFLAGS Archiver flags | ||
# | ||
# OTHERFLAGS Additional flags for all languages (C, C++, Fortran) | ||
# OTHER_CFLAGS Optional C flags | ||
# OTHER_CXXFLAGS Optional C++ flags | ||
# OTHER_FFLAGS Optional Fortran flags | ||
# TMPFILES Placeholder for `make clean` deletion (as `make neat`). | ||
# | ||
# | ||
# NOTES: | ||
# - FPPFLAGS and FFLAGS always appear as a pair, and autoconf does not use | ||
# FPPFLAGS, so FPPFLAGS does not serve much purpose. | ||
# | ||
# - mkmf's FFLAGS does not distinguish between autoconf's fixed-format | ||
# FFLAGS and free-format FCFLAGS. | ||
# | ||
# - LDFLAGS does not distinguish between autoconf's LDFLAGS and LIBS. | ||
# It also places both after the executable rather than just LIBS. | ||
|
||
CC = @CC@ | ||
FC = @FC@ | ||
LD = @FC@ | ||
AR = @AR@ | ||
MAKEDEP = @MAKEDEP@ | ||
|
||
DEFS = @DEFS@ | ||
CPPDEFS = @DEFS@ | ||
CPPFLAGS = @CPPFLAGS@ | ||
FCFLAGS = @FCFLAGS@ | ||
FFLAGS = @FCFLAGS@ | ||
LDFLAGS = @LDFLAGS@ | ||
LIBS = @LIBS@ | ||
ARFLAGS = @ARFLAGS@ | ||
|
||
SRC_DIRS = @SRC_DIRS@ | ||
|
||
# Gather modulefiles | ||
TMPFILES = $(wildcard *.mod) | ||
|
||
-include Makefile.dep | ||
|
||
.PHONY: depend | ||
depend: Makefile.dep | ||
Makefile.dep: | ||
$(MAKEDEP) -o Makefile.dep -x libFMS.a @srcdir@ | ||
depend: | ||
../../bin/makedep -o Makefile.dep -f '$$(FC) $$(CPPFLAGS) $$(CPPDEFS) $$(FFLAGS) -c $$<' -x libFMS.a -d $(SRC_DIRS) |
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
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