#
# Small typo corrected in ui.c (ranom > random), edited slightly the 
# Makefile to compile under MiNT, then fixstk the binary to 30k
# in order to work right.   kellis@leading.net
#
# 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 = -Wall -DUNIX -DANSI_COLOR 
# Uncomment the below line for humorous messages
#CFLAGS += -DFUNNY_MSGS 
# uncomment the line below for debuging info
#CFLAGS += -g
CLIBS = 
#uncomment the line below if your using Solaris
#CLIBS= -lnsl -lsocket
CLIBS= -lsocket
#uncomment the line below if your using NeXT
#CFLAGS += -posix
OBJS =icq_response.o micq.o sendmsg.o rus_conv.o server.o ui.o util.o msg_queue.o
HEADERS = datatype.h micq.h ui.h msg_queue.h
#
all : micq

re : clean all

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

${OBJS} : ${HEADERS}

clean :
	rm -f ${OBJS}

