/
umud/DOC/
umud/DOC/U/
umud/DOC/U/U-examples/
umud/DOC/internals/
umud/DOC/wizard/
umud/MISC/
umud/MISC/dbchk/
umud/RWHO/rwhod/
#FLAGS= -g -pg -DDAEMON -DSETSID
#FLAGS= -O
FLAGS= -g
#CFLAGS is a composite of flags from above plus headers.
CFLAGS= $(FLAGS) -I$(HDIR)

HDIR=	..

OBJ=	\
	updat.o \
	clilib.o

SRC=	\
	updat.c \
	clilib.c \
	mudwho.c

LIB=	$(HDIR)/librwho.a

all: $(LIB) mudwho

$(LIB):	$(OBJ)
	ar rcv $(LIB) $(OBJ)
	ranlib $(LIB)

mudwho:	mudwho.o
	$(CC) $(FLAGS) -o $@ mudwho.o $(LIBS)

ci:
	ci -u -t/dev/null -m" " $(SRC) Makefile < /dev/null

clean:
	rm -f *.o mudwho $(LIB)

depend:
	makedepend -I$(HDIR) $(SRC)