2011-09-21 21:43:24 +08:00
|
|
|
# Makefile for PH
|
2016-06-25 15:26:50 +08:00
|
|
|
sinclude ../make.inc
|
2011-09-21 21:43:24 +08:00
|
|
|
|
|
|
|
default: all
|
|
|
|
|
2020-02-01 17:14:20 +08:00
|
|
|
all: phonon phgamma_only # finite_diffs
|
2011-09-21 21:43:24 +08:00
|
|
|
|
|
|
|
phonon:
|
2013-11-08 05:06:06 +08:00
|
|
|
( cd PH ; $(MAKE) all || exit 1 )
|
|
|
|
|
2018-08-21 23:14:04 +08:00
|
|
|
ph-lib:
|
|
|
|
( cd PH ; $(MAKE) libs-ph || exit 1 )
|
|
|
|
|
2011-09-21 21:43:24 +08:00
|
|
|
phgamma_only:
|
2013-11-08 05:06:06 +08:00
|
|
|
( cd Gamma ; $(MAKE) all || exit 1 )
|
|
|
|
|
2013-04-09 08:19:15 +08:00
|
|
|
finite_diffs:
|
2013-11-08 05:06:06 +08:00
|
|
|
( cd FD ; $(MAKE) all || exit 1 )
|
|
|
|
|
2016-10-02 01:12:37 +08:00
|
|
|
clean: phonon_clean phgamma_only_clean examples_clean finite_diffs_clean
|
2011-09-21 21:43:24 +08:00
|
|
|
|
|
|
|
phonon_clean:
|
2013-11-08 05:06:06 +08:00
|
|
|
( cd PH ; $(MAKE) clean )
|
2011-09-21 21:43:24 +08:00
|
|
|
|
|
|
|
phgamma_only_clean:
|
2013-11-08 05:06:06 +08:00
|
|
|
( cd Gamma ; $(MAKE) clean )
|
2011-09-21 21:43:24 +08:00
|
|
|
|
2013-11-08 05:06:06 +08:00
|
|
|
#third_order_q_clean:
|
|
|
|
# ( cd D3q ; $(MAKE) clean )
|
2011-09-21 21:43:24 +08:00
|
|
|
|
2013-04-09 08:19:15 +08:00
|
|
|
finite_diffs_clean:
|
2013-11-08 05:06:06 +08:00
|
|
|
( cd FD ; $(MAKE) clean )
|
2013-04-09 08:19:15 +08:00
|
|
|
|
2012-08-20 22:16:00 +08:00
|
|
|
examples_clean:
|
2012-08-14 00:13:40 +08:00
|
|
|
if test -d examples ; then \
|
|
|
|
( cd examples ; ./clean_all ) ; fi
|
|
|
|
|
2012-01-20 21:13:27 +08:00
|
|
|
doc:
|
|
|
|
if test -d Doc ; then \
|
2013-11-08 05:06:06 +08:00
|
|
|
( cd Doc ; $(MAKE) all || exit 1 ) ; fi
|
|
|
|
|
2012-01-20 21:13:27 +08:00
|
|
|
doc_clean:
|
|
|
|
if test -d Doc ; then \
|
2013-11-08 05:06:06 +08:00
|
|
|
(cd Doc ; $(MAKE) clean ) ; fi
|
2012-01-20 21:13:27 +08:00
|
|
|
|
|
|
|
distclean: clean doc_clean
|