2016-03-07 22:27:35 +08:00
|
|
|
|
|
|
|
default: epw
|
|
|
|
|
|
|
|
all: epw
|
|
|
|
|
|
|
|
epw:
|
2016-03-10 23:23:43 +08:00
|
|
|
(cd src ; make all )
|
2016-03-07 22:27:35 +08:00
|
|
|
(cd bin ; ln -fs ../src/epw.x . )
|
|
|
|
|
|
|
|
clean:
|
2016-04-25 17:41:43 +08:00
|
|
|
cd src ; rm -f *.o *.mod *~ *.F90
|
|
|
|
|
|
|
|
distclean : clean
|
2016-05-16 01:38:52 +08:00
|
|
|
rm -f src/epw.x bin/epw.x
|
2016-03-07 22:27:35 +08:00
|
|
|
|
|
|
|
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/* ; \
|
|
|
|
rm -rf .svn */.svn */*/*.svn */*/*/*.svn */*/*/*/*.svn
|
|
|
|
cd .. ; tar cfz EPW/EPW-release.tgz EPW-release ; \
|
|
|
|
rm -rf EPW-release ; cd EPW
|
|
|
|
|