-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
74 lines (58 loc) · 1.33 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
66
67
68
69
70
71
72
73
74
path = src/
FC = gfortran -c -O3 #compile
LK = gfortran -o runnet90 #link
OBJS =\
eose.o\
eosi.o\
eosr.o\
net90.o\
const_eos_mod.o\
helm_table_storage_mod.o\
read_helm_table.o\
helmeos.o\
interp.o\
read_rates_table.o\
nuclear90_module.o\
testnuclear.o
nuclearnet:\
$(OBJS); $(LK) $(OBJS); rm *.o *.mod
eose.o:\
$(path)$(@:.o=.f); $(FC) $(path)$(@:.o=.f)
eosi.o:\
$(path)$(@:.o=.f); $(FC) $(path)$(@:.o=.f)
eosr.o:\
$(path)$(@:.o=.f); $(FC) $(path)$(@:.o=.f)
const_eos_mod.o:\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
helm_table_storage_mod.o:\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
read_helm_table.o:\
helm_table_storage_mod.o\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
helmeos.o:\
const_eos_mod.o\
helm_table_storage_mod.o\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
read_rates_table.o:\
nuclear90_module.o\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
interp.o:\
nuclear90_module.o\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
net90.o:\
nuclear90_module.o\
interp.o\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
nuclear90_module.o:\
$(path)$(@:.o=.f90); $(FC) $(path)$(@:.o=.f90)
testnuclear.o:\
nuclear90_module.o\
eose.o\
eosi.o\
eosr.o\
read_helm_table.o\
helmeos.o\
read_rates_table.o\
$(@:.o=.f90); $(FC) $(@:.o=.f90)
clean:
rm *.o *.mod