-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
14 lines (10 loc) · 700 Bytes
/
Makefile
File metadata and controls
14 lines (10 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all:
g++ -std=c++23 main.cpp TcpClient.cpp -lboost_system -pthread -Wall -Wconversion -Wextra -Wpedantic -O3 -o tcp-client
debug:
g++ -std=c++23 main.cpp TcpClient.cpp -lboost_system -pthread -Wall -Wconversion -Wextra -Wpedantic -O0 -g -o tcp-client
asan:
g++ -std=c++23 main.cpp TcpClient.cpp -lboost_system -pthread -Wall -Wconversion -Wextra -Wpedantic -O0 -g -fsanitize=address -o tcp-client
tsan:
g++ -std=c++23 main.cpp TcpClient.cpp -lboost_system -pthread -Wall -Wconversion -Wextra -Wpedantic -O0 -g -fsanitize=thread -o tcp-client
ubsan:
g++ -std=c++23 main.cpp TcpClient.cpp -lboost_system -pthread -Wall -Wconversion -Wextra -Wpedantic -O0 -g -fsanitize=undefined -o tcp-client