
INCL = $(LROOT)\incl
INCL1= $(AROOT)\incl

LIB  = $(AROOT)\AGD.lib

o   = .obj

.asm.obj:
        $(ASM) -o $*.obj $*.asm
        @if not exist $(LIB) $(AR0)$(LIB) $(ARC) $*.obj > NUL
	$(AR) $(LIB) $(ARC) $*.obj > NUL

.c.obj:
        $(CC) $(DLL) -I$(INCL) -I$(INCL1) -DLEDA_INSTALL -DLEDA_DLL $(DFLAGS) $*.c
        @if not exist $(LIB) $(AR0)$(LIB) $(ARC) $*.obj > NUL
	$(AR) $(LIB) $(ARC) $*.obj > NUL
        
.cpp.obj:
        $(CC) $(DLL) -I$(INCL) -I$(INCL1) -DLEDA_INSTALL -DLEDA_DLL $(DFLAGS) $*.cpp
        @if not exist $(LIB) $(AR0)$(LIB) $(ARC) $*.obj > NUL
	$(AR) $(LIB) $(ARC) $*.obj > NUL

all: $(LIB)

!include Make.lst

$(LIB): $(OBJECTS)
        @echo.
clean:
	del $(OBJECTS)

