#-----------------------------------------------------------------------------
# BORLAND
#-----------------------------------------------------------------------------

CC  = bcc -P -Qx  -ml -w-
AR  = tlib /P32 /C


LIB = ..\..\lib$(L).lib

o   = .obj

.c.obj:
	$(CC) -I..\..\incl $(DFLAGS) -c $*.c
	@echo +- $*.obj & >> obj.lst
 
all: $(LIB)

!include Make.lst

$(LIB): $(OBJECTS)
	@echo ,lib.lst >> obj.lst
	$(AR) $(LIB) @obj.lst
	@del obj.lst > NUL

clean: $(OBJECTS)
	del $*.obj

