alex-robinson / ncio

Simple Fortran interface to NetCDF reading and writing.
23 stars 9 forks source link

Add an option to the Makefile to create and install a static library #12

Closed einola closed 3 years ago

einola commented 3 years ago

I've added the option to create a static library and install this (along with the .mod file) to $(LIB) and $(INC). This makes compiling ncio into other programs easier and more standard (add -I$INC -L$LIB -lncio to the compiler flags).

Usage:

$ make lib $ sudo make install # if we need sudo to write to $LIB and $INC

alex-robinson commented 3 years ago

Great, thanks!

einola commented 3 years ago

You're welcome! And thanks for merging :)