# $Id: //streamstor/example/XLRPartitionExample.mk#8 $ all:XLRPartitionExample CC = g++ #Set STREAMSTOR to the top level directory of the Streamstor files STREAMSTOR = /usr/local/streamstor/linux # Where to install INSTALLPATH = /usr/local/bin INSTALLDIR = streamstor INCLUDE = -I. -I$(STREAMSTOR)/include SSLIBDIR = $(STREAMSTOR)/lib/gcc_v4 # # The -L path should point to where you have installed libssapi. # WDVER should be the version of WinDriver you are using. # WDVER=1031 LIBS = -L$(SSLIBDIR) -lssapi -lpthread -lrt -lwdapi$(WDVER) SRCS = XLRPartitionExample.c OBJS = XLRPartitionExample.o CFLAGS = -g -Wall $(INCLUDE) -DLINUX XLRPartitionExample: $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) clean: rm -f XLRPartitionExample.o