quantum-espresso/EPW/Makefile

33 lines
685 B
Makefile

# Makefile for EPW
sinclude ../make.inc
default: epw
all: epw
epw:
(cd src ; make all )
- (mkdir -p bin)
(cd bin ; ln -fs ../src/epw.x . )
(cd ZG/src ; make )
clean:
(cd src ; make clean )
(cd ZG/src ; make clean )
distclean : clean
rm -f src/epw.x bin/epw.x
rm -f src/nscf2supercond.x bin/nscf2supercond.x
rm -f ZG/src/*.x
release:
cd ../ ; cp -r EPW EPW-release; cd EPW-release ; \
rm -f src/*.o src/*.mod src/*.F90 src/*~ ; \
rm bin/*.x ; \
rm -rf examples/*/epw/out/* examples/*/epw/tmp/* \
examples/*/phonons/out/* examples/*/phonons/tmp/* \
examples/*/phonons/save/* ; \
cd .. ; tar cfz EPW/EPW-release.tgz EPW-release ; \
rm -rf EPW-release ; cd EPW