-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
29 lines (21 loc) · 895 Bytes
/
Copy pathmakefile
File metadata and controls
29 lines (21 loc) · 895 Bytes
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
CXX = mpic++
CXXFLAGS = -Wall -O3 -std=c++11
CXXFLAGS += -I/home/guterding/local/eigen3/ -I/home/guterding/local/Random123-1.08/include
OBJECTS = main.o files.o random.o solver.o gf.o
LDFLAGS = -lboost_system -lboost_filesystem
DEFINES =
all : $(OBJECTS)
$(CXX) $(CXXFLAGS) $(DEFINES) $(OBJECTS) $(LDFLAGS) -o ctaux
main.o : main.cpp solver.hpp gf.hpp random.hpp files.hpp typedefs.hpp
$(CXX) $(CXXFLAGS) $(DEFINES) -c main.cpp -o main.o
files.o : files.cpp files.hpp typedefs.hpp
$(CXX) $(CXXFLAGS) $(DEFINES) -c files.cpp -o files.o
random.o : random.cpp random.hpp typedefs.hpp
$(CXX) $(CXXFLAGS) $(DEFINES) -c random.cpp -o random.o
solver.o : solver.cpp solver.hpp random.hpp files.hpp typedefs.hpp
$(CXX) $(CXXFLAGS) $(DEFINES) -c solver.cpp -o solver.o
gf.o : gf.cpp gf.hpp typedefs.hpp
$(CXX) $(CXXFLAGS) $(DEFINES) -c gf.cpp -o gf.o
clean :
rm ctaux
rm *.o