
#
# This is the make file for the misc. 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 =  config.obj genmat.obj getarg.obj imalloc.obj irit_ftl.obj \
	ln_sweep.obj miscattr.obj miscatt2.obj priorque.obj xgeneral.obj

# Show me better way if you know one to prepare this line for TLIB:
POBJS =  +config.obj +genmat.obj +getarg.obj +imalloc.obj +irit_ftl.obj \
	+ln_sweep.obj +miscattr.obj +miscatt2.obj +priorque.obj \
	+xgeneral.obj

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

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

# Dependencies starts here - do not touch, generated automatically.
config.obj:	config.h imalloc.h
genmat.obj:	genmat.h
getarg.obj:	getarg.h imalloc.h
imalloc.obj:	imalloc.h
ln_sweep.obj:	imalloc.h ln_sweep.h
miscatt2.obj:	imalloc.h miscattr.h
miscattr.obj:	imalloc.h miscattr.h
priorque.obj:	priorque.h imalloc.h
xgeneral.obj:	imalloc.h
