From f75a37444e7a97fb58439077eea4d1b3c576bfe3 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 20 七月 2020 11:17:33 +0800
Subject: [PATCH] update

---
 test/Makefile |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/test/Makefile b/test/Makefile
index fdcff9a..eee9f77 100755
--- a/test/Makefile
+++ b/test/Makefile
@@ -2,19 +2,19 @@
 # Makefile for common library.
 #
 ROOT=..
-#LDLIBS+=-Wl,-rpath=$(ROOT)/common:$(ROOT)/lib/jsoncpp
+LDLIBS+=-Wl,-rpath=$(ROOT)/queue:$(ROOT)/lib
 # 寮�婧愬伐鍏峰寘璺緞
-LDDIR += -L$(ROOT)/squeue
+LDDIR += -L$(ROOT)/queue
 # 寮�婧愬伐鍏峰寘
-LDLIBS += -lsqueue -lpthread
+LDLIBS += -lshm_queue -lusgcommon -lpthread
 
-INCLUDE += -I$(ROOT)/squeue/ -I$(ROOT)/squeue/include
+INCLUDE += -I$(ROOT)/queue/ -I$(ROOT)/queue/include
 
 PLATFORM=$(shell $(ROOT)/systype.sh)
 include $(ROOT)/Make.defines.$(PLATFORM)
 
  
-PROGS =	test_queue single_productor single_consumer multiple_queue_productor multiple_queue_consumer test_timeout
+PROGS = communication
 
 
 build: $(PROGS)
@@ -24,16 +24,16 @@
 # 濡傛灉鍖匒 寮曠敤鍖匓锛� B 瑕佹斁鍦� A 鍚庨潰
  
 
-test_queue: test.h  $(ROOT)/squeue/include/lock_free_queue.h
+test_queue: test.h  $(ROOT)/queue/include/lock_free_queue.h
 
-single_productor: test.h  $(ROOT)/squeue/include/lock_free_queue.h
+single_productor: test.h  $(ROOT)/queue/include/lock_free_queue.h
 
-single_consumer: test.h  $(ROOT)/squeue/include/lock_free_queue.h
+single_consumer: test.h  $(ROOT)/queue/include/lock_free_queue.h
 
 clean:
 	rm -f $(TEMPFILES) $(PROGS)
 
 
 
-$(LIBSQUEUE):
-	(cd $(ROOT)/squeue && $(MAKE))
+$(LIBQUEUE):
+	(cd $(ROOT)/queue && $(MAKE))

--
Gitblit v1.8.0