-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathMakefile
66 lines (61 loc) · 1.63 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
#master makefile for OpenSource
include Make_include
all: mkdirs
cd FFTlib ; $(MAKE)
cd fdelmodc ; $(MAKE) install
cd zfp ; $(MAKE) install
cd utils ; $(MAKE) install
cd marchenko ; $(MAKE) install
cd corrvir ; $(MAKE) install
cd raytime ; $(MAKE) install
cd fdelmodc3D ; $(MAKE) install
cd marchenko3D ; $(MAKE) install
cd vmar ; $(MAKE) install
cd extrap ; $(MAKE) install
ifneq ($(strip $(MKLROOT)),)
cd fdacrtmc ; $(MAKE) install
else
@echo "***************************************************************************";
@echo "**** There is no MKL or other library for the FFTW calls in use by fdacrtmc";
endif
ifneq ($(strip $(FC)),)
cd MDD ; $(MAKE) install
else
@echo "***************************************************************************";
@echo "**** There is no Fortran compiler (FC) defined in Make_include to make MDD";
endif
mkdirs:
-mkdir -p lib
-mkdir -p include
-mkdir -p bin
clean:
cd FFTlib ; $(MAKE) $@
cd fdelmodc ; $(MAKE) $@
cd utils ; $(MAKE) $@
cd marchenko ; $(MAKE) $@
cd corrvir ; $(MAKE) $@
cd raytime ; $(MAKE) $@
cd extrap ; $(MAKE) $@
cd fdacrtmc ; $(MAKE) $@
cd zfp ; $(MAKE) $@
cd fdelmodc3D ; $(MAKE) $@
cd marchenko3D ; $(MAKE) $@
cd MDD ; $(MAKE) $@
cd vmar ; $(MAKE) $@
realclean:
cd FFTlib ; $(MAKE) $@
cd fdelmodc ; $(MAKE) $@
cd utils ; $(MAKE) $@
cd marchenko ; $(MAKE) $@
cd corrvir ; $(MAKE) $@
cd raytime ; $(MAKE) $@
cd extrap ; $(MAKE) $@
cd fdacrtmc ; $(MAKE) $@
cd zfp ; $(MAKE) $@
cd fdelmodc3D ; $(MAKE) $@
cd marchenko3D ; $(MAKE) $@
cd MDD ; $(MAKE) $@
cd vmar ; $(MAKE) $@
rm -f lib/*
rm -f include/*
rm -f bin/*