[Dart-dev] DART/branches Revision: 13056
dart at ucar.edu
dart at ucar.edu
Fri Mar 22 15:37:27 MDT 2019
thoar at ucar.edu
2019-03-22 15:37:27 -0600 (Fri, 22 Mar 2019)
133
Cleaning up the leftover .o .mod Makefile and .cppdefs from the observation
converters. None of these should leave their detritus.
Modified: DART/branches/recam/observations/obs_converters/AIRS/work/quickbuild.csh
===================================================================
--- DART/branches/recam/observations/obs_converters/AIRS/work/quickbuild.csh 2019-03-22 21:26:25 UTC (rev 13055)
+++ DART/branches/recam/observations/obs_converters/AIRS/work/quickbuild.csh 2019-03-22 21:37:27 UTC (rev 13056)
@@ -10,12 +10,13 @@
#----------------------------------------------------------------------
# 'preprocess' is a program that culls the appropriate sections of the
-# observation module for the observations types in 'input.nml'; the
-# resulting source file is used by all the remaining programs,
+# observation module for the observations types in 'input.nml'; the
+# resulting source file is used by all the remaining programs,
# so this MUST be run first.
#----------------------------------------------------------------------
-\rm -f preprocess *.o *.mod
+set nonomatch
+\rm -f preprocess *.o *.mod Makefile
\rm -f ../../../obs_def/obs_def_mod.f90
\rm -f ../../../obs_kind/obs_kind_mod.f90
@@ -48,7 +49,7 @@
@ n = $n + 1
echo
echo "---------------------------------------------------"
- echo "${MODEL} build number ${n} is ${PROG}"
+ echo "${MODEL} build number ${n} is ${PROG}"
\rm -f ${PROG}
csh $TARGET || exit $n
make || exit $n
@@ -56,9 +57,9 @@
endsw
end
-\rm -f *.o *.mod
+\rm -f *.o *.mod input.nml*_default Makefile .cppdefs
-echo "Success: All ${MODEL} programs compiled."
+echo "Success: All ${MODEL} programs compiled."
exit 0
Modified: DART/branches/recam/observations/obs_converters/AURA/work/quickbuild.csh
===================================================================
--- DART/branches/recam/observations/obs_converters/AURA/work/quickbuild.csh 2019-03-22 21:26:25 UTC (rev 13055)
+++ DART/branches/recam/observations/obs_converters/AURA/work/quickbuild.csh 2019-03-22 21:37:27 UTC (rev 13056)
@@ -6,16 +6,17 @@
#
# DART $Id$
#
-# This script compiles all executables in this directory.
+# compile all converter programs
#----------------------------------------------------------------------
# 'preprocess' is a program that culls the appropriate sections of the
-# observation module for the observations types in 'input.nml'; the
-# resulting source file is used by all the remaining programs,
+# observation module for the observations types in 'input.nml'; the
+# resulting source file is used by all the remaining programs,
# so this MUST be run first.
#----------------------------------------------------------------------
-\rm -f preprocess *.o *.mod
+set nonomatch
+\rm -f preprocess *.o *.mod Makefile
\rm -f ../../../obs_def/obs_def_mod.f90
\rm -f ../../../obs_kind/obs_kind_mod.f90
@@ -48,7 +49,7 @@
@ n = $n + 1
echo
echo "---------------------------------------------------"
- echo "${MODEL} build number ${n} is ${PROG}"
+ echo "${MODEL} build number ${n} is ${PROG}"
\rm -f ${PROG}
csh $TARGET || exit $n
make || exit $n
@@ -56,10 +57,9 @@
endsw
end
-# clean up. comment this out if you want to keep the .o and .mod files around
-\rm -f *.o *.mod input.nml.*_default
+\rm -f *.o *.mod input.nml*_default Makefile .cppdefs
-echo "Success: All DART programs compiled."
+echo "Success: All ${MODEL} programs compiled."
exit 0
Modified: DART/branches/recam/observations/obs_converters/AVISO/work/quickbuild.csh
===================================================================
--- DART/branches/recam/observations/obs_converters/AVISO/work/quickbuild.csh 2019-03-22 21:26:25 UTC (rev 13055)
+++ DART/branches/recam/observations/obs_converters/AVISO/work/quickbuild.csh 2019-03-22 21:37:27 UTC (rev 13056)
@@ -10,12 +10,13 @@
#----------------------------------------------------------------------
# 'preprocess' is a program that culls the appropriate sections of the
-# observation module for the observations types in 'input.nml'; the
More information about the Dart-dev
mailing list