From 1f8a523275ca32e30335c02e3feabb3110549fa6 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 26 十一月 2020 10:18:54 +0800
Subject: [PATCH] update

---
 test_queue/Makefile      |    2 +-
 test_socket/Makefile     |    2 +-
 src/Makefile             |    2 +-
 test_net_socket/Makefile |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index 4dc86a4..1b6d69f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -16,7 +16,7 @@
 
 #-I$(ROOT)/include/usgcommon
 
-INCLUDES += -I./queue -I./socket -I./common/include 
+INCLUDES += -I./queue -I./socket -I./common/include -I$(ROOT)/include/usgcommon
 
 SOURCES := $(wildcard *.c ./**/*.c)
 OBJS   = $(patsubst %.c, $(DEST)/%.o, $(SOURCES)) 
diff --git a/test_net_socket/Makefile b/test_net_socket/Makefile
index 01ccd9f..5d93037 100644
--- a/test_net_socket/Makefile
+++ b/test_net_socket/Makefile
@@ -12,7 +12,7 @@
 LDLIBS += -lshm_queue  -lpthread
 
 #-I$(ROOT)/include/usgcommon
-INCLUDES += -I${ROOT}/src -I${ROOT}/src/queue -I${ROOT}/src/socket -I${ROOT}/src/common/include 
+INCLUDES += -I${ROOT}/src -I${ROOT}/src/queue -I${ROOT}/src/socket -I${ROOT}/src/common/include -I./include/usgcommon
 
 
 PROGS = ${DEST}/test_net_mod_socket
diff --git a/test_queue/Makefile b/test_queue/Makefile
index bcb18b2..55e6e8a 100755
--- a/test_queue/Makefile
+++ b/test_queue/Makefile
@@ -8,7 +8,7 @@
 # 寮�婧愬伐鍏峰寘
 LDLIBS += -lshm_queue -lusgcommon -lpthread
 
-INCLUDE += -I$(ROOT)/build/include
+INCLUDE += -I$(ROOT)/build/include -I$(ROOT)/include/usgcommon
 
 PLATFORM=$(shell $(ROOT)/systype.sh)
 include $(ROOT)/Make.defines.$(PLATFORM)
diff --git a/test_socket/Makefile b/test_socket/Makefile
index 1f1d220..47331b4 100644
--- a/test_socket/Makefile
+++ b/test_socket/Makefile
@@ -10,7 +10,7 @@
 #-lusgcommon
 LDLIBS += -lshm_queue  -lpthread
 
-INCLUDES += -I${ROOT}/src -I${ROOT}/src/queue -I${ROOT}/src/socket -I${ROOT}/src/common/include 
+INCLUDES += -I${ROOT}/src -I${ROOT}/src/queue -I${ROOT}/src/socket -I${ROOT}/src/common/include -I$(ROOT)/include/usgcommon
 
 
 PROGS = ${DEST}/dgram_mod_bus ${DEST}/dgram_mod_survey ${DEST}/dgram_mod_req_rep ${DEST}/test_timeout ${DEST}/test_open_close

--
Gitblit v1.8.0