Ai
1 Star 0 Fork 0

lsnmjp/code of cpp Linux 算法

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
makefile 440 Bytes
Copy Edit Raw Blame History
lsnmjp authored 2025-06-19 13:13 +08:00 . echo_server_v1
CC=g++
LDFLAGE=-o
FLAGE=-std=c++17 -lpthread
Server_src=UDP_Server.cc
Client_src=UDP_Client.cc
# SRC=UDP_Client.cc UDP_Server.cc
# OBJ=$(SRC:.cc=.o)
Server=UDP_Server
Client=UDP_Client
.PHONY:all
all:$(Server) $(Client)
$(Server):$(Server_src)
@$(CC) $^ $(LDFLAGE) $@ $(FLAGE)
$(Client):$(Client_src)
@$(CC) $^ $(LDFLAGE) $@ $(FLAGE)
@echo "compilation success"
.PHONY:clean
clean:
@rm -rf $(Server) $(Client)
@echo "clean done"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/lsnmjp/code-of-cpp-linux-algorithm.git
git@gitee.com:lsnmjp/code-of-cpp-linux-algorithm.git
lsnmjp
code-of-cpp-linux-algorithm
code of cpp Linux 算法
master

Search