Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
HR_Socket_Msg_Demo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马伊齐
HR_Socket_Msg_Demo
Commits
d58ca550
Commit
d58ca550
authored
Dec 19, 2023
by
马伊齐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加注释
parent
b742c58f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Makefile
Makefile
+8
-8
No files found.
Makefile
View file @
d58ca550
...
...
@@ -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)
/Msg
Local
Server.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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment