mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 21:55:30 -04:00
avoid need of USE_MPI for make clean https://github.com/nwchemgit/nwchem/issues/903
This commit is contained in:
parent
3c1b01480c
commit
81925bad7d
1 changed files with 3 additions and 0 deletions
|
|
@ -3585,8 +3585,10 @@ ifdef USE_MPI
|
|||
CORE_LIBS += $(NWLIBMPI)
|
||||
endif
|
||||
else
|
||||
ifneq ($(MAKECMDGOALS),$(findstring $(MAKECMDGOALS), clean realclean distclean dependencies include_stamp deps_stamp directories $(BINDIR)/depend.x))
|
||||
errornousempi:
|
||||
$(info )
|
||||
$(info MAKECMDGOALS $(MAKECMDGOALS))
|
||||
$(info please set the env. variable USE_MPI)
|
||||
$(info and provide a working MPI installation)
|
||||
$(info )
|
||||
|
|
@ -3596,6 +3598,7 @@ else
|
|||
else
|
||||
CORE_LIBS +=
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue