File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11CC =g++
22CFLAGS =-Wall -Wextra -c -Wfloat-equal -Wundef -Wcast-align -Wwrite-strings -Wlogical-op -Wmissing-declarations -Wredundant-decls -Wshadow -Woverloaded-virtual
3- BOOSTFLAGS =-lboost_system -lboost_thread -lpthread -pthread -std=c++11
3+ BOOSTFLAGS =-lboost_system -lboost_thread -lpthread -pthread -lboost_program_options - std=c++14
44
55EXECUTABLE_S =server
66EXECUTABLE_C =client
@@ -14,10 +14,10 @@ client.o: client.h client.cpp
1414 $(CC ) $(CFLAGS ) client.cpp -o client.o
1515
1616build_s : server.o main_server.cpp
17- $(CC ) $( BOOSTFLAGS ) server.o main_server.cpp -o $(EXECUTABLE_S )
17+ $(CC ) server.o main_server.cpp -o $(EXECUTABLE_S ) $( BOOSTFLAGS )
1818
1919build_c : client.o main_client.cpp
20- $(CC ) $( BOOSTFLAGS ) client.o main_client.cpp -o $(EXECUTABLE_C )
20+ $(CC ) client.o main_client.cpp -o $(EXECUTABLE_C ) $( BOOSTFLAGS )
2121
2222clear :
2323 rm -rf * .o $(EXECUTABLE_S ) $(EXECUTABLE_C )
You can’t perform that action at this time.
0 commit comments