Commit d58ca550 authored by 马伊齐's avatar 马伊齐

增加注释

parent b742c58f
......@@ -32,7 +32,7 @@ MSG_SIGNAL_SEND_RECV := msg_signal_send_recv
# 指定消息发送接收文件夹
MSG_SEND_RECV := msg_send_recv
# 测试Socket部分(除了注销注册外的)
########################### 测试Socket部分(除了注销注册外的)
socket : sock_msg.o SocketClient SocketServer
@chmod 777 $(OUT_DIR)/*.out
@./$(OUT_DIR)/SocketServer.out
......@@ -51,7 +51,7 @@ SocketServer : sock_msg.o
fi
@$(CC) -o $(OUT_DIR)/$@.out $(OBJ_DIR)/$@.o $(OBJ_DIR)/$<
# 测试Socket注销注册部分
########################### 测试Socket注销注册部分
socketRe : sock_msg.o SocketReUnreClient SocketReUnreServer
@chmod 777 $(OUT_DIR)/*.out
@./$(OUT_DIR)/SocketReUnreServer.out
......@@ -71,7 +71,7 @@ SocketReUnreServer : sock_msg.o
@$(CC) -o $(OUT_DIR)/$@.out $(OBJ_DIR)/$@.o $(OBJ_DIR)/$<
# 测试msg本地发送接收部分
########################### 测试msg本地发送接收部分
MsgLocalSendRecv : sock_msg.o MsgLocalClient MsgLocalServer
@chmod 777 $(OUT_DIR)/*.out
@./$(OUT_DIR)/MsgLocalServer.out
......@@ -91,7 +91,7 @@ MsgLocalServer : sock_msg.o
@$(CC) -o $(OUT_DIR)/$@.out $(OBJ_DIR)/$@.o $(OBJ_DIR)/$<
# 测试msg发送接收信号部分
########################### 测试msg发送接收信号部分
MsgPluse : sock_msg.o MsgSendPluseA MsgSendPluseB
@chmod 777 $(OUT_DIR)/*.out
@./$(OUT_DIR)/MsgSendPluseA.out
......@@ -110,20 +110,20 @@ MsgSendPluseB : sock_msg.o
fi
@$(CC) -o $(OUT_DIR)/$@.out $(OBJ_DIR)/$@.o $(OBJ_DIR)/$<
# 测试msg发送接收部分
########################### 测试msg发送接收部分
Msg : sock_msg.o MsgClient MsgServer
@chmod 777 $(OUT_DIR)/*.out
@./$(OUT_DIR)/MsgLocalServer.out
@./$(OUT_DIR)/MsgServer.out
MsgClient : sock_msg.o
@$(CC) -c $(msg_send_recv)/$@.c -o $(OBJ_DIR)/$@.o
@$(CC) -c $(MSG_SEND_RECV)/$@.c -o $(OBJ_DIR)/$@.o
@if [ ! -d "$(OBJ_DIR)" ]; then \
mkdir obj; \
fi
@$(CC) -o $(OUT_DIR)/$@.out $(OBJ_DIR)/$@.o $(OBJ_DIR)/$<
MsgServer : sock_msg.o
@$(CC) -c $(msg_send_recv)/$@.c -o $(OBJ_DIR)/$@.o
@$(CC) -c $(MSG_SEND_RECV)/$@.c -o $(OBJ_DIR)/$@.o
@if [ ! -d "$(OBJ_DIR)" ]; then \
mkdir obj; \
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment