From 58c04be6a84cddbcdb7c090e88f86f225c045441 Mon Sep 17 00:00:00 2001 From: Juan Escobar <juan.escobar@aero.obs-mip.fr> Date: Thu, 24 Mar 2016 16:17:06 +0000 Subject: [PATCH] Juan 24/03/2016: add cleaning of hdf/cdf after install to free some disk space --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index ae3e72dcf..01f69823a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -219,7 +219,7 @@ installmaster : libmaster cleanlibmaster : rm -f $(LIB_MASTER) -cleanmaster : gribex_clean +cleanmaster : test -d $(OBJDIR_MASTER) && rm -fr $(OBJDIR_MASTER) cleanobjmaster : @@ -332,9 +332,9 @@ ifeq "$(VER_CDF)" "CDFAUTO" cdf : $(CDF_INC) $(CDF_INC) : cd ${DIR_HDF} && ./configure --disable-shared --prefix=${CDF_PATH} --libdir=${CDF_PATH}/lib64 --with-zlib=no \ - FC="$(FC)" FCFLAGS="$(OPT_BASE)" CPPFLAGS="-DpgiFortran" ${HDF_CONF} && make && make install + FC="$(FC)" FCFLAGS="$(OPT_BASE)" CPPFLAGS="-DpgiFortran" ${HDF_CONF} && make && make install && $(MAKE) -j 1 clean cd ${DIR_CDF} && ./configure --disable-shared --prefix=${CDF_PATH} --libdir=${CDF_PATH}/lib64 --disable-cxx --disable-f90 --disable-dap \ - FC="$(FC)" FCFLAGS="$(OPT_BASE)" CPPFLAGS="-DpgiFortran ${INC_NETCDF}" ${CDF_CONF} LDFLAGS=" -L${CDF_PATH}/lib64" && make && make install + FC="$(FC)" FCFLAGS="$(OPT_BASE)" CPPFLAGS="-DpgiFortran ${INC_NETCDF}" ${CDF_CONF} LDFLAGS=" -L${CDF_PATH}/lib64" && make && make install && $(MAKE) -j 1 clean cleanmaster : cleancdf cleancdf : -- GitLab