-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (40 loc) · 834 Bytes
/
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
f90 = gfortran
opt = -O3 -Jsrc
opt = -O3 -Jsrc -pg
opt = -O3 -Jsrc -fopenmp -flto -Ofast -ffast-math
obj = \
src/const.o \
src/input.o \
src/vector_product.o \
src/normalize.o \
src/normal.o \
src/centre.o \
src/lambert.o \
src/lommel.o \
src/hapke.o \
src/read_input.o \
src/read_face.o \
src/read_node.o \
src/read_elem.o \
src/write_face.o \
src/write_node.o \
src/write1.o \
src/write2.o \
src/surface.o \
src/volume.o \
src/planck.o \
src/intersect_AB_t.o \
src/boundingbox.o \
src/shadowing.o \
src/scattering.o \
inc = \
src/integrate_over_S.inc \
src/integrate_scattered.inc \
src/integrate_thermal.inc \
src/lc_triangle: src/lc_triangle.f90 $(obj) $(inc)
$(f90) $(opt) $(obj) -o $@ $<
$(obj): %.o:%.f90
$(f90) $(opt) -o $@ -c $<
clean:
rm src/*.mod
rm $(obj)