|
1 | | ---- source/Makefile |
2 | | -+++ source/Makefile |
| 1 | +diff --git a/source/Makefile b/source/Makefile |
| 2 | +index fde05fc..c5b38c9 100644 |
| 3 | +--- a/source/Makefile |
| 4 | ++++ b/source/Makefile |
3 | 5 | @@ -1,31 +1,31 @@ |
4 | 6 | # BayeScan makefile |
5 | 7 |
|
6 | | - bayescan2: start.o beta.o dirichlet.o RJupdates.o MHupdates.o likelihood.o read_write.o anyoption.o |
7 | | -- g++ -o bayescan2 -static start.o beta.o dirichlet.o RJupdates.o MHupdates.o likelihood.o read_write.o anyoption.o |
8 | | -+ $(CXX) $(LDFLAGS) -o bayescan2 start.o beta.o dirichlet.o RJupdates.o MHupdates.o likelihood.o read_write.o anyoption.o |
| 8 | +-bayescan_2.1: start.o beta.o dirichlet.o RJupdates.o MHupdates.o likelihood.o read_write.o anyoption.o |
| 9 | +- g++ -fopenmp -static -lpthread -o bayescan_2.1 start.o beta.o dirichlet.o RJupdates.o MHupdates.o likelihood.o read_write.o anyoption.o |
| 10 | ++bayescan_2.1: start.o beta.o dirichlet.o RJupdates.o MHupdates.o likelihood.o read_write.o anyoption.o |
| 11 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp -static -pthread -o bayescan_2.1 start.o beta.o dirichlet.o RJupdates.o MHupdates.o likelihood.o read_write.o anyoption.o |
9 | 12 |
|
10 | 13 | start.o: start.cpp errors.cpp anyoption.h global_defs.h |
11 | | -- g++ -c start.cpp errors.cpp |
12 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c start.cpp errors.cpp |
| 14 | +- g++ -fopenmp -c start.cpp errors.cpp |
| 15 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c start.cpp errors.cpp |
13 | 16 |
|
14 | 17 | beta.o: beta.cpp global_defs.h |
15 | | -- g++ -c beta.cpp |
16 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c beta.cpp |
17 | | - |
| 18 | +- g++ -fopenmp -c beta.cpp |
| 19 | +- |
| 20 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c beta.cpp |
| 21 | ++ |
18 | 22 | dirichlet.o: dirichlet.cpp global_defs.h |
19 | | -- g++ -c dirichlet.cpp |
20 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c dirichlet.cpp |
| 23 | +- g++ -fopenmp -c dirichlet.cpp |
| 24 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c dirichlet.cpp |
21 | 25 |
|
22 | 26 | RJupdates.o: RJupdates.cpp global_defs.h |
23 | | -- g++ -c RJupdates.cpp |
24 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c RJupdates.cpp |
| 27 | +- g++ -fopenmp -c RJupdates.cpp |
| 28 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c RJupdates.cpp |
25 | 29 |
|
26 | 30 | MHupdates.o: MHupdates.cpp global_defs.h |
27 | | -- g++ -c MHupdates.cpp |
28 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c MHupdates.cpp |
| 31 | +- g++ -fopenmp -c MHupdates.cpp |
| 32 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c MHupdates.cpp |
29 | 33 |
|
30 | 34 | likelihood.o: likelihood.cpp global_defs.h |
31 | | -- g++ -c likelihood.cpp |
32 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c likelihood.cpp |
| 35 | +- g++ -fopenmp -c likelihood.cpp |
| 36 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c likelihood.cpp |
33 | 37 |
|
34 | 38 | read_write.o: read_write.cpp errors.cpp global_defs.h |
35 | | -- g++ -c read_write.cpp errors.cpp |
36 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c read_write.cpp errors.cpp |
| 39 | +- g++ -fopenmp -c read_write.cpp errors.cpp |
| 40 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c read_write.cpp errors.cpp |
37 | 41 |
|
38 | | - anyoption.o: anyoption.cpp anyoption.h |
39 | | -- g++ -c anyoption.cpp |
40 | | -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c anyoption.cpp |
| 42 | +-anyoption.o: anyoption.cpp anyoption.h |
| 43 | +- g++ -fopenmp -c anyoption.cpp |
| 44 | ++anyoption.o: anyoption.cpp anyoption.h |
| 45 | ++ $(CXX) $(CXXFLAGS) -std=c++14 -fopenmp $(CPPFLAGS) -c anyoption.cpp |
41 | 46 |
|
42 | | - clean: |
43 | | - rm *.o bayescan2 |
| 47 | +-clean: |
| 48 | ++clean: |
| 49 | + rm *.o bayescan_2.1 |
0 commit comments