From 614cfd0c968d7b156932d85a5b375ace272a6775 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 30 七月 2020 09:57:42 +0800
Subject: [PATCH] add shm_alloc_key

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

diff --git a/Makefile b/Makefile
index e509479..e2c95d6 100755
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
-DIRS = src test_socket demo
+DIRS = src test_socket demo test
+TAR_NAME = shm_queue.tar.gz
 
+ 
 all:
 	for i in $(DIRS); do \
 		(cd $$i && echo "making $$i" && $(MAKE) ) || exit 1; \
@@ -12,11 +14,6 @@
 	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