#----------------------------------------------------------------
# Microsoft Visual C++ 4.x (_MSV_VER >= 1000)
#---------------------------------------------------------------

LIB = lib$(L).lib
DIR = src\$(D)

CC     = cl -nologo  -I..\..\incl
CFLAGS = -O2 -Ob2 

o      = .obj

.c.obj:
	$(CC) $(CFLAGS) $(DFLAGS) -c -Tp $*.c
        @chdir ..\..
        @if not exist $(LIB) lib -nologo -out:$(LIB) $(DIR)\$*.obj
        lib -nologo $(LIB) $(DIR)\$*.obj
        @chdir $(DIR)

all: ..\..\$(LIB)        
        
!include Make.lst

..\..\$(LIB): $(OBJECTS)

clean:
	del *.obj
