-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
65 lines (53 loc) · 1.75 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Makefile for all McPhase
include bin/src/Makefile.common
cfdir = bin/cf1ion_module
icdir = bin/ic1ion_module
phdir = bin/phonon_module
bfkdir = bin/bfk_src
mcpdir = bin/src
vecdir = bin/src/vector
funcdir = bin/src/functions
calcdir = bin/src/calc
all: vector functions mcphase phonon
vector:
cd $(vecdir) && $(MAKE)
functions:
cd $(funcdir) && $(MAKE)
calc:
cd $(calcdir) && $(MAKE)
cfield: vector
cd $(cfdir) && $(MAKE)
ic1ion: vector
cd $(icdir) && $(MAKE)
bfk :
cd $(bfkdir) && $(MAKE)
phonon :
cd $(phdir) && $(MAKE)
mcphase: vector ic1ion cfield
cd $(mcpdir) && $(MAKE)
clean:
cd $(vecdir) && $(MAKE) clean
cd $(funcdir) && $(MAKE) clean
cd $(cfdir) && $(MAKE) clean
cd $(icdir) && $(MAKE) cleanall
cd $(phdir) && $(MAKE) cleanall
cd $(mcpdir) && $(MAKE) clean
cd $(phdir) && $(MAKE) clean
rm -vf bin/addj.exe bin/charges.exe bin/coq2jjj.exe \
bin/mcdispit.exe bin/singleion.exe bin/cfield.exe \
bin/cond.exe bin/jjj2j.exe bin/mcphasit.exe bin/spins.exe \
bin/chrgplt.exe bin/pointc.exe bin/spinsfromq.exe \
bin/mcdiff.exe bin/cf1ion_module/cfield.dll \
bin/ic1ion.exe bin/icf1ion.exe bin/so1ion.exe \
bin/ic1ion_module/ic1ion.dll \
bin/fediff.exe bin/mf2fe.exe \
bin/formfactor.exe bin/radwavfunc.exe
rm -vf bin/addj bin/charges bin/coq2jjj \
bin/mcdispit bin/singleion bin/cfield \
bin/cond bin/jjj2j bin/mcphasit bin/spins \
bin/chrgplt bin/pointc bin/spinsfromq \
bin/mcdiff bin/cf1ion_module/cfield.so \
bin/ic1ion bin/icf1ion bin/so1ion \
bin/ic1ion_module/ic1ion.so bin/ic1ion_module/icf1ion.so \
bin/fediff bin/mf2fe \
bin/formfactor bin/radwavfunc