4 NETCDFLIB
=$(shell nc-config
--flibs
2> /dev
/null || echo
-L
$(NETCDF
)/lib
-lnetcdf
)
5 NETCDFINC
=$(shell nc-config
--fflags 2> /dev
/null || echo
-I
$(NETCDF
)/include)
9 tign_history.o
: tign_history.F90
10 $(FC
) -c
$(NETCDFINC
) $<
12 tign_test.x
: tign_history.o tign_test.F90
13 $(FC
) -c tign_test.F90
-I.
14 $(FC
) -o
$@ tign_test.o tign_history.o
$(NETCDFLIB
)