#-----------------------------------------------------------------------------
# DOS  EMX  (g++)
#-----------------------------------------------------------------------------

LIB    = ..\..\$(L).a
CFLAGS =
o      = .o
.c.o:
	gcc -I..\..\incl $(CFLAGS) $(DFLAGS) -c $*.C
	@echo $*.o >> obj.lst


all: $(LIB)


include Make.lst


$(LIB): $(OBJECTS)
	ar r $(LIB) @obj.lst
        @del obj.lst > NUL
	ar d $(LIB) __.SYMDEF
	ar s $(LIB)

clean:
	rm -f $(OBJECTS)

