-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
61 lines (44 loc) · 3.11 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
FC = gfortran
flags_gfortran = -std=f2003 -pedantic -Wall -Wno-maybe-uninitialized
flags_ifort = -O0 -stand f03 -warn all
flags_ifx = ${flags_ifort}
FFLAGS = ${flags_$(FC)}
bin/critical: LDLIBS = -llapack -lblas
needless = .DS_Store ebmb.pyc manual/ebmb.aux manual/.ebmb.lb manual/ebmb.log manual/ebmb.out manual/ebmb.synctex.gz ~temporary.dat
# generated by makemake90 bin=bin mod=build obj=build src=src:
modules_gfortran = -Jbuild
modules_ifort = -module build
modules_ifx = ${modules_ifort}
override FFLAGS += ${modules_$(FC)}
needless += build/critical.o build/dos.o build/ebmb.o build/eigenvalues.o build/eliashberg_eigenvalue.o build/eliashberg_eigenvalue_cdos.o build/eliashberg_self_energy.o build/eliashberg_self_energy_cdos.o build/eliashberg_spectral_function.o build/formatting.o build/global.o build/io_load.o build/io_store.o build/io_tell.o build/pade.o build/real_axis.o build/tc.o build/tools.o build/*.mod
programs = bin/critical bin/ebmb bin/tc
.PHONY: all clean cleaner
all: $(programs)
clean:
rm -f $(needless)
cleaner: clean
rm -f $(programs)
$(programs):
$(FC) $(FFLAGS) -o $@ $^ $(LDLIBS)
build/%.o: src/%.f90
$(FC) $(FFLAGS) -c $< -o $@
bin/critical: build/critical.o build/eigenvalues.o build/eliashberg_eigenvalue.o build/eliashberg_eigenvalue_cdos.o build/eliashberg_self_energy.o build/eliashberg_spectral_function.o build/global.o build/io_load.o build/tools.o
bin/ebmb: build/dos.o build/ebmb.o build/eliashberg_self_energy.o build/eliashberg_self_energy_cdos.o build/eliashberg_spectral_function.o build/formatting.o build/global.o build/io_load.o build/io_store.o build/io_tell.o build/pade.o build/real_axis.o build/tools.o
bin/tc: build/eliashberg_self_energy.o build/eliashberg_self_energy_cdos.o build/eliashberg_spectral_function.o build/formatting.o build/global.o build/io_load.o build/tc.o build/tools.o
build/critical.o: build/eliashberg_eigenvalue.o build/eliashberg_eigenvalue_cdos.o build/global.o build/io_load.o
build/dos.o: build/eliashberg_self_energy.o build/global.o build/pade.o
build/ebmb.o: build/dos.o build/eliashberg_self_energy.o build/eliashberg_self_energy_cdos.o build/global.o build/io_load.o build/io_store.o build/io_tell.o build/real_axis.o
build/eigenvalues.o: build/global.o build/tools.o
build/eliashberg_eigenvalue.o: build/eigenvalues.o build/eliashberg_self_energy.o build/global.o
build/eliashberg_eigenvalue_cdos.o: build/eigenvalues.o build/eliashberg_spectral_function.o build/global.o
build/eliashberg_self_energy.o: build/eliashberg_spectral_function.o build/global.o build/tools.o
build/eliashberg_self_energy_cdos.o: build/eliashberg_spectral_function.o build/global.o
build/eliashberg_spectral_function.o: build/global.o build/tools.o
build/formatting.o: build/global.o
build/io_load.o: build/eliashberg_spectral_function.o build/global.o build/tools.o
build/io_store.o: build/global.o
build/io_tell.o: build/formatting.o build/global.o
build/pade.o: build/global.o
build/real_axis.o: build/global.o build/pade.o build/tools.o
build/tc.o: build/eliashberg_self_energy.o build/eliashberg_self_energy_cdos.o build/formatting.o build/global.o build/io_load.o
build/tools.o: build/global.o