#-----------------------------------------------------------------------------
# Makefile for node.lib
#-----------------------------------------------------------------------------
COMPILER        = WATCOM                # Only WATCOM supported
TARGET          = NT                    # Only NT is supported
SRC_PATH        = .                     # Set to path to look for sources
INC_PATH        = .                     # Set to path to look for include files
LIB_PATH        = libs                  # Set to path to look for libraries
OBJ_PATH        = obj                   # Set to path to store object files
OBJS            = $(OBJ_PATH)\node.obj  &
		  $(OBJ_PATH)\nodetest.obj
LIBS            = 

#-----------------------------------------------------------------------------
#
all:    node.lib nodetest .AUTODEPEND

nodetest: .SYMBOLIC
	@wmake -e -h -f maketest.mak
	@.\nodetest.exe
#-----------------------------------------------------------------------------
#
NAME            = node                  # Set to project name without extension
TYPE            = lib                   # Set to "lib" or "exe"
!include        \\sol\libs\master1.mif


#-----------------------------------------------------------------------------
# Update the library on the network
#
update: .symbolic
	nodetest.exe
#        cvs commit
	@wmake clean all DEBUG=0
	@if exist node.lib @copy node.lib \\sol\libs\node\winnt\node.lib >nul
	@wmake clean all DEBUG=3
	@if exist node.lib @copy node.lib \\sol\libs\node\winnt\node.dbg >nul
	@copy node.h    \\sol\libs\node\winnt >nul
	@copy node.h    \\sol\include\dimaga\node.h >nul
	@copy heap.h    \\sol\libs\node\winnt >nul
	@copy bsearch.h \\sol\libs\node\winnt >nul
	@echo ---------------------------------------------
	@echo Node library updated on \\sol\libs for WinNT.


!include        \\sol\libs\master.mif
