#
# Imakefile for libBNK.a
#

#include "../../adsoft.versions" /* specify versions to use in this file */
#include "../../Imakefile.def"

NAME = BNK

INCLUDES = -I../../include

OBJ = bnk.o shmbnk.o sized_io.o stream.o

TEST_PROG = bnktest

NormalLibraryTarget($(NAME),$(OBJ))

InstallLibrary($(NAME),$(INSTALL_LIB_PATH))

DependTarget()

test: $(TEST_PROG)

bnktest: bnktest.o lib$(NAME).a
	$(CC) -o $@ bnktest.o lib$(NAME).a

clean::
	$(RM) bnkserver bnktest
