wangzhengquan
2020-06-08 e861f79cb75d2fd14985f17f4094917ecfae4cf8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Makefile for common library.
#
ROOT=..
LDLIBS+=-Wl,-rpath=../hclib:../hclib/HCNetSDKCom:../common
LDDIR += -L$(ROOT)/hcnetdisk_wrapper -L../hclib -L../hclib/HCNetSDKCom
LDLIBS +=  -lhcnetsdk -lhpr -lHCCore -lpthread
LIB_NETDISK = libnetdisk.a
DLIB_NETDISK = libnetdisk.so
PLATFORM=$(shell $(ROOT)/systype.sh)
include $(ROOT)/Make.defines.$(PLATFORM)
 
 
 
all: test_file test_io
 
test_file: test_file.c
 
clean:
    rm -f test *.o a.out core temp.* *.a *.so
 
 
include $(ROOT)/Make.common.inc