Fix: do not compile stuff that is not there yet

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8632 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
paulatto 2012-02-13 16:02:56 +00:00
parent 82f49ce6d0
commit 1105d794cc
1 changed files with 11 additions and 1 deletions

View File

@ -3,6 +3,7 @@
default: all default: all
#all: phonon phgamma_only third_order third_order_q
all: phonon phgamma_only third_order all: phonon phgamma_only third_order
phonon: phonon:
@ -17,8 +18,12 @@ third_order:
if test -d D3; then \ if test -d D3; then \
( cd D3 ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \ ( cd D3 ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
else $(MAKE) $(MFLAGS) all ; fi ) ; fi else $(MAKE) $(MFLAGS) all ; fi ) ; fi
#third_order_q:
# if test -d D3q; then \
# ( cd D3q ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
# else $(MAKE) $(MFLAGS) all ; fi ) ; fi
clean: phonon_clean phgamma_only_clean third_order_clean clean: phonon_clean phgamma_only_clean third_order_clean third_order_q_clean
phonon_clean: phonon_clean:
if test -d src ; then \ if test -d src ; then \
@ -35,6 +40,11 @@ third_order_clean:
( cd D3 ; if test "$(MAKE)" = ""; then make clean; \ ( cd D3 ; if test "$(MAKE)" = ""; then make clean; \
else $(MAKE) clean ; fi ) ; fi else $(MAKE) clean ; fi ) ; fi
#third_order_q_clean:
# if test -d D3q ; then \
# ( cd D3q ; if test "$(MAKE)" = ""; then make clean; \
# else $(MAKE) clean ; fi ) ; fi
doc: doc:
if test -d Doc ; then \ if test -d Doc ; then \
(cd Doc ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all ; \ (cd Doc ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all ; \