#-----------------------------------------------------------------------------
# WATCOM
#-----------------------------------------------------------------------------

CC = wpp386 -zq -mf
AR = wlib -b -c -q -p=512

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

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

!include Make.lst

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

clean: $(OBJECTS)
	del $*.obj

