1
0

[Update] add "debug" task in Makefile

This commit is contained in:
Tony Yang
2021-12-27 04:00:00 +08:00
parent 8c52bcb750
commit b954e5d50c

View File

@@ -1,8 +1,11 @@
server:
g++ *_ser.cpp -o server
server: *_ser.cpp
g++ *_ser.cpp -o server $(CXXFLAGS)
client:
g++ *_cli.cpp -o client
client: *_cli.cpp
g++ *_cli.cpp -o client $(CXXFLAGS)
debug: CXXFLAGS += -DDEBUG -g
debug: server client
all: server client