Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transforming wann2kcp into pc2sc #3

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Makefile for Koopmans utils
#include ../make.inc

# Make sure we have a make.inc from QE
ifneq (,$(wildcard $(QE_ROOT)/make.inc))
Expand All @@ -21,7 +22,7 @@ WAN2KCP_OBJS = modified_wannier.o read_wannier.o fft_supercell.o scell_wfc.o plo

MODULES = $(PWOBJS) $(QEMODS)

all: checkmake pwlib pplib epsilon.x wann2kcp.x merge_evc.x
all: checkmake pwlib pplib wann2kcp.x

checkmake:
- test -f $(QE_ROOT)/make.inc || (echo 'Could not find $(QE_ROOT)/make.inc. Please configure your Quantum ESPRESSO installation first.'; exit 1)
Expand All @@ -32,20 +33,11 @@ pwlib:
pplib:
cd $(QE_ROOT)/ ; $(MAKE) pp || exit 1

merge_evc.x: merge_evc.o
$(LD) $(LDFLAGS) -o $@ merge_evc.o
- ( cd ../bin ; ln -fs ../src/$@ . )

wann2kcp.x: wann2kcp.o $(WAN2KCP_OBJS) $(MODULES) $(LIBOBJS)
$(LD) $(LDFLAGS) -o $@ \
wann2kcp.o $(WAN2KCP_OBJS) $(MODULES) $(LIBOBJS) $(QELIBS)
- ( cd ../bin ; ln -fs ../src/$@ . )

epsilon.x: epsilon.o $(MODULES) $(LIBOBJS)
$(LD) $(LDFLAGS) -o $@ epsilon.o $(MODULES) \
$(LIBOBJS) $(QELIBS)
- ( cd ../bin ; ln -fs ../src/$@ . )

clean:
- /bin/rm -f *.x *.o *~ *_tmp.f90 *.d *.mod *.i *.L *genmod*

Expand Down
Loading