tar -xvf netcdf-4.4.1.1.tar.gz
cd netcdf-4.4.1.1
./configure --prefix=/path/to/NETCDF --build=aarch64-unknown-linux-gnu --enable-shared --enable-netcdf-4 --enable-dap --with-pic --disable-doxygen --enable-static --enable-largefile CPPFLAGS="-I/path/to/HDF5/include " LDFLAGS="-L/path/to/HDF5/lib -Wl,-rpath=/path/to/HDF5/lib " CFLAGS="-L/path/to/HDF5/lib -I/path/to/HDF5/include "
make -j 20 make install