#NOTE: This file should NOT need to be changed in any way shape or form if you
# are using the RWHO server connections

#FLAGS= -g -pg -DDAEMON -DSETSID
#FLAGS= -O
#

FLAGS= -g
#CFLAGS is a composite of flags from above plus headers.
CFLAGS= $(FLAGS)

OBJ=	\
	clilib.o

SRC=	\
	clilib.c \
	mudwho.c

LIB=	librwho.a

all: $(LIB) mudwho

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

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

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