
###############################################################################
#
#	WATCOM
#
#	makefile for lowlevel UltraSound utility libraries 
#
###############################################################################
#
#	This makefile will build the objects in a sub-directories metaware.
#	The libraries are built in the current directory from those objs.
#	Make sure these subdirs exist before making the particular model.
#
###############################################################################

INCS=c:\wc\h;..\incs
#DEBUG = /d2

###############################################################################
#            Transformation rules
# Compile all .c files with the Borland C++ compiler
# SOME MODEL .............
###############################################################################
.path.obj = .\watcom

.c.obj:
	wcc386 $(DEBUG) /s /3r /oailsx /e10 /fo=watcom\$&.obj /mf /i=$(INCS) $&.c 

.autodepend

all: utilwc.lib

###############################################################################
#
# Files
#
###############################################################################
FILE01=	config.obj config16.obj utalloc.obj ualloc.obj fastkb.obj comstuff.obj

###############################################################################
# ANY MODEL .............
###############################################################################

utilwc.lib: $(FILE01)
	cd watcom
	c:\wc\binb\wlib ..\utilwc.lib @..\util.dat
	cd ..

clean:
	del ult16wc.lib
	cd watcom
	del *.obj
	cd ..

