
#
# This is the make file for the prsr. lib subdirectory.
# In order to run it tcc is assumed to be available, in addition to
# tlib and obviously borland make.
#
# Usage: "make [-DMDL=model]" where model can be l (large) or c (compact) etc.
# Note the MDL is optional with large model as default.
#
#				Gershon Elber, Aug 1991
#

# Works only on TC++ 1.0 make and up - swap out make before invoking command.
# .SWAP

# Get the destination directories:
!include "..\makeflag.tc"

OBJS = bbox.obj convex.obj geomat3d.obj geomvals.obj intrnrml.obj poly_cln.obj

# Show me better way if you know one to prepare this line for TLIB:
POBJS = +bbox.obj +convex.obj +geomat3d.obj +geomvals.obj \
	+intrnrml.obj +poly_cln.obj

geom_lib.lib: $(OBJS)
	del geom_lib.lib
	tlib /c geom_lib.lib @&&!
$(POBJS), geom_lib.lst
!

install: geom_lib.lib
	copy geom_lib.lib $(LIB_DIR)
	copy *.h $(INC_DIR)

# Dependencies starts here - do not touch, generated automatically.
bbox.obj:	bbox.h
convex.obj:	convex.h poly_cln.h geomat3d.h intrnrml.h
geomat3d.obj:	convex.h geomat3d.h
geomvals.obj:	convex.h geomat3d.h geomvals.h
intrnrml.obj:	geomat3d.h intrnrml.h
poly_cln.obj:	poly_cln.h
