# # 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