From c6a302283cee53d113d88db89c0a242576dbc8c4 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期六, 13 六月 2020 10:15:50 +0800 Subject: [PATCH] 修改包路径 --- service/Makefile | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/service/Makefile b/service/Makefile index 2e70b29..452d39d 100644 --- a/service/Makefile +++ b/service/Makefile @@ -2,9 +2,11 @@ # Makefile for common library. # ROOT=.. -LDLIBS+=-Wl,-rpath=$(ROOT)/hclib:$(ROOT)/hclib/HCNetSDKCom:$(ROOT)/common:$(ROOT)/device -LDDIR += -L$(ROOT)/device -L$(ROOT)/hclib -L$(ROOT)/hclib/HCNetSDKCom -LDLIBS += -lnetdisk +LDLIBS+=-Wl,-rpath=$(ROOT)/lib/hc:$(ROOT)/lib/hc/HCNetSDKCom:$(ROOT)/common +# 娴峰悍鍖呰矾寰� +LDDIR += -L$(ROOT)/lib/hc -L$(ROOT)/lib/hc/HCNetSDKCom +LDLIBS += +# 娴峰悍鍖� LDLIBS += -lhcnetsdk -lhpr -lHCCore LDLIBS += -ljsoncpp -lnng -lpthread @@ -14,14 +16,15 @@ PLATFORM=$(shell $(ROOT)/systype.sh) include $(ROOT)/Make.defines.$(PLATFORM) -all: netdisk_service client test test_queue test_properties +all: netdisk_service test_client test test_queue test_properties -test_properties: properties_config.c netdisk_service: $(ROOT)/device/hcnetdisk.c $(ROOT)/device/netdisk_factory.c login_store.c request_handler.c properties_config.c test: $(ROOT)/device/hcnetdisk.c +test_properties: properties_config.c + clean: rm -f test *.o a.out core temp.* *.a *.so -- Gitblit v1.8.0