# Anyone who knows how to make Makefiles please help out.
# I have no clue but this appears to work fairly well
# be sure to use gmake
CC = gcc
CFLAGS = -O2 -Wall -DUNIX -DANSI_COLOR
# Uncomment the below line for humorous messages
#CFLAGS += -DFUNNY_MSGS 
# uncomment the line below for debuging info
#CFLAGS += -g
CLIBS = -lsocket 
#uncomment the line below if your using Solaris
#CLIBS= -lnsl -lsocket
OBJS =icq_response.o micq.o sendmsg.o rus_conv.o server.o ui.o util.o
HEADERS = datatype.h micq.h ui.h
#
all : micq

re : clean all

micq : ${OBJS} ${HEADERS} 
	${CC} ${CFLAGS} -o micq ${OBJS} ${CLIBS}

${OBJS} : ${HEADERS}

clean :
	rm -f ${OBJS}

