
IPXLIBNAME = ipx
IPXLIB = lib$(IPXLIBNAME).a
LIBOBJS = ipxutil.o ipxrip.o ipxsap.o ipxkern.o
CFLAGS = -I../include -Wall

all: $(IPXLIB)

clean: 
	rm -f *.o $(IPXLIB) *~ *.bak

depend:
	makedepend -I/usr/include/linux -I../include *.c

undepend:
	makedepend

release:
	mkdir ../release/lib
	ln *.c makefile libnwc.a ../release/lib

$(IPXLIB): $(LIBOBJS)
	ar rcv $(IPXLIB) $(LIBOBJS)
	ranlib $(IPXLIB)

# DO NOT DELETE
