Skip to content

Commit

Permalink
Library order in Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPincus committed Apr 2, 2024
1 parent 9943839 commit 0834520
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/all-sky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RRTMGP_BUILD = $(RRTMGP_ROOT)/build
# RRTMGP library, module files
#
LDFLAGS += -L$(RRTMGP_BUILD)
LIBS += -lrrtmgpkernels -lrtekernels -lrrtmgpf -lrtef
LIBS += -lrrtmgpf -lrtef -lrrtmgpkernels -lrtekernels
FCINCLUDE += -I$(RRTMGP_BUILD)

# netcdf Fortran module files has to be in the search path or added via environment variable FCINCLUDE e.g.
Expand Down
2 changes: 1 addition & 1 deletion examples/rfmip-clear-sky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RRTMGP_BUILD = $(RRTMGP_ROOT)/build
# RRTMGP library, module files
#
LDFLAGS += -L$(RRTMGP_BUILD)
LIBS += -lrrtmgpkernels -lrtekernels -lrrtmgpf -lrtef
LIBS += -lrrtmgpf -lrtef -lrrtmgpkernels -lrtekernels
FCINCLUDE += -I$(RRTMGP_BUILD)

# netcdf Fortran module files has to be in the search path or added via environment variable FCINCLUDE e.g.
Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RRTMGP_BUILD = $(RRTMGP_ROOT)/build
# RRTMGP library, module files
#
LDFLAGS += -L$(RRTMGP_BUILD)
LIBS += -lrrtmgpkernels -lrtekernels -lrrtmgpf -lrtef
LIBS += -lrrtmgpf -lrtef -lrrtmgpkernels -lrtekernels
FCINCLUDE += -I$(RRTMGP_BUILD)

# netcdf Fortran module files has to be in the search path or added via environment variable FCINCLUDE e.g.
Expand Down

0 comments on commit 0834520

Please sign in to comment.