From 509cf5db80c1d8919e19e1e061f2014e1ff3caf7 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期三, 05 八月 2020 19:44:03 +0800
Subject: [PATCH] udpate

---
 Makefile |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index 757d648..b4fa973 100755
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-DIRS = src test_socket demo
+DIRS = src test_socket demo test
+TAR_NAME = shm_queue.tar.gz
 
 all:
 	for i in $(DIRS); do \
@@ -10,12 +11,8 @@
 		(cd $$i && echo "cleaning $$i" && $(MAKE) clean) || exit 1; \
 	done
 	rm -rf build
+	ipcrm -a
 
-ipcrm:
-	-ipcrm -a
-	-ipcs
-
-# 	-ipcrm -M 0x1234
-# 	-ipcrm -S 145
-# 	-ipcrm -S 146
-# 	-ipcrm -S 8899
+tar:
+	rm -f $(TAR_NAME)
+	git archive --format tar.gz --output $(TAR_NAME) master
\ No newline at end of file

--
Gitblit v1.8.0