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, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index c57cc88..e2c95d6 100755 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ -DIRS = squeue test +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; \ @@ -9,10 +11,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