From c81cf7d031bcbd8dafaafba6478d82afd7abcf6a Mon Sep 17 00:00:00 2001 From: Zhi Date: Wed, 18 Oct 2023 14:10:19 -0400 Subject: [PATCH] fix make clean logic --- Make.Microphysics_extern | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.Microphysics_extern b/Make.Microphysics_extern index 2954ebbffc..c784bbaa14 100644 --- a/Make.Microphysics_extern +++ b/Make.Microphysics_extern @@ -148,5 +148,5 @@ endif clean:: @if [ -L helm_table.dat ]; then rm -f helm_table.dat; fi @if [ -L reaclib_rate_metadata.dat ]; then rm -f reaclib_rate_metadata.dat; fi - @if [ ! -f nse19.tbl ]; then rm -f nse19.tbl; fi - $(foreach t, $(NET_TABLES), $(shell if [ ! -L `basename $t` ]; then rm -f `basename $t` ; fi)) + @if [ -L nse.tbl ]; then rm -f nse.tbl; fi + $(foreach t, $(NET_TABLES), $(shell if [ -L `basename $t` ]; then rm -f `basename $t`; fi)) \ No newline at end of file