-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
28 lines (21 loc) · 861 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
# All Targets
all: bin/cTrace
bin/cTrace: bin/main.o bin/agent.o bin/session.o bin/graph.o bin/tree.o
@echo 'Building target: main'
@echo 'Invoking: C++ Linker'
g++ -o bin/cTrace bin/main.o bin/agent.o bin/graph.o bin/tree.o bin/session.o
@echo 'Finished building target: main'
@echo ' '
bin/main.o: src/main.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/main.o src/main.cpp
bin/agent.o: src/Agent.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/agent.o src/Agent.cpp
bin/session.o: src/Session.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/session.o src/Session.cpp
bin/graph.o: src/Graph.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/graph.o src/Graph.cpp
bin/tree.o: src/Tree.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/tree.o src/Tree.cpp
#Clean the build directory
clean:
rm -f bin/*