From f12c014371ec9dc9b0c62db3e45df90cc97e9b31 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期二, 28 七月 2020 11:02:00 +0800
Subject: [PATCH] commit

---
 Makefile |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index c57cc88..18a1a54 100755
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-DIRS = squeue test
-
+DIRS = src test_socket demo
+TAR_NAME = shm_queue.tar.gz
 all:
 	for i in $(DIRS); do \
 		(cd $$i && echo "making $$i" && $(MAKE) ) || exit 1; \
@@ -9,10 +9,9 @@
 	for i in $(DIRS); do \
 		(cd $$i && echo "cleaning $$i" && $(MAKE) clean) || exit 1; \
 	done
+	rm -rf build
+	ipcrm -a
 
-ipcrm:
-	-ipcrm -a
-	-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