Skip to content

Commit

Permalink
define clean targets in test dirs even if all tests in the given dir …
Browse files Browse the repository at this point in the history
…are disabled
  • Loading branch information
evaleev committed Sep 15, 2021
1 parent ecbfdc3 commit 936cb08
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
10 changes: 6 additions & 4 deletions tests/hartree-fock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ check:: check1 check2
check1::
check2::

clean::

realclean:: clean

targetclean:: clean

ifeq ($(CXXGEN_SUPPORTS_CPP11),yes)
ifeq ($(LIBINT_SUPPORTS_ONEBODY),yes)
ifeq ($(LIBINT_SUPPORTS_ERI),yes)
Expand Down Expand Up @@ -62,10 +68,6 @@ clean::
distclean:: realclean
-rm -rf $(TOPDIR)/include/libint2/boost hf++.molden

realclean:: clean

targetclean:: clean

#########
# unpack bundled boost if needed
#########
Expand Down
14 changes: 8 additions & 6 deletions tests/unit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ check:: check1

check1::

clean::

distclean:: realclean

realclean:: clean

targetclean:: clean

ifeq ($(CXXGEN_SUPPORTS_CPP11),yes)
ifeq ($(LIBINT_SUPPORTS_ONEBODY),yes)
ifeq ($(LIBINT_SUPPORTS_ERI),yes)
Expand All @@ -58,12 +66,6 @@ $(TEST1): LD=$(CXXGEN)
clean::
-rm -rf $(TEST1) *.o *.d

distclean:: realclean

realclean:: clean

targetclean:: clean

depend:: $(CXXTEST1DEP)

#########
Expand Down

0 comments on commit 936cb08

Please sign in to comment.