-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
43 lines (29 loc) · 1.57 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
all: test.exe test_archive.exe bayes_inference.exe volume_sphere.exe pi.exe integrate.exe bimodal_walk.exe harmonic_oscillator.exe
harmonic_oscillator.exe: source/harmonic_oscillator.cpp metropolis.o mc.o rd.o mcmc.o archives.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
test.exe: source/test.cpp archives.o mc.o rd.o mcmc.o inference.o metropolis.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
test_archive.exe: source/archives/test_archive.cpp archives.o mc.o rd.o mcmc.o inference.o metropolis.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
bayes_inference.exe: source/inference/bayes_inference.cpp archives.o mc.o mcmc.o inference.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
bimodal_walk.exe: source/metropolis/bimodal_walk.cpp archives.o mc.o mcmc.o metropolis.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
volume_sphere.exe: source/volume_sphere.cpp archives.o mc.o mcmc.o metropolis.o rd.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
pi.exe: source/rd/pi.cpp mc.o archives.o rd.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
integrate.exe: source/rd/integrate.cpp archives.o mc.o rd.o
g++ -std=c++11 -iquote source/ -O $^ -o $@
mc.o: source/common/mc.cpp
g++ -std=c++11 -iquote source/ -O -c $<
archives.o: source/archives/archives.cpp
g++ -std=c++11 -iquote source/ -O -c $<
rd.o: source/rd/rd.cpp
g++ -std=c++11 -iquote source/ -O -c $<
mcmc.o: source/common/mcmc.cpp
g++ -std=c++11 -iquote source/ -O -c $<
inference.o: source/inference/inference.cpp
g++ -std=c++11 -iquote source/ -O -c $<
metropolis.o: source/metropolis/metropolis.cpp
g++ -std=c++11 -iquote source/ -O -c $<