Skip to content

Commit

Permalink
fix make clean logic (#1358)
Browse files Browse the repository at this point in the history
fixes the nse table cleaning
instead of relying on NET_TABLES, we now delete *electroncapture.dat and *betadecay.dat
  • Loading branch information
zhichen3 authored Oct 19, 2023
1 parent 8b2c485 commit ebdb5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Make.Microphysics_extern
Original file line number Diff line number Diff line change
Expand Up @@ -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, $(wildcard *_betadecay.dat *_electroncapture.dat), $(shell if [ -L $t ]; then rm -f $t; fi))

0 comments on commit ebdb5b8

Please sign in to comment.