Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Supporting installations of NetCDF where the Fortran library is insta…
Browse files Browse the repository at this point in the history
…lled in a different place than the C library (env. variable NETCDFF)
  • Loading branch information
climbfuji committed Nov 2, 2016
1 parent 9df88cd commit ea4067d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,11 @@ ifneq "$(NETCDF)" ""
ifneq ($(wildcard $(NETCDF)/lib/libnetcdff.*), ) # CHECK FOR NETCDF4
LIBS += $(NCLIBF)
endif # CHECK FOR NETCDF4
ifneq "$(NETCDFF)" ""
FCINCLUDES += -I$(NETCDFF)/include
LIBS += -L$(NETCDFF)/lib
LIBS += $(NCLIBF)
endif
LIBS += $(NCLIB)
endif

Expand Down

0 comments on commit ea4067d

Please sign in to comment.