# 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 = -O4 -Wall -DUNIX -DANSI_COLOR 
CFLAGS += -DMAX_CONTACTS=255
CFLAGS += -DUSE_MREADLINE
#CFLAGS += -DCOLOR_SCHEME_A
#CFLAGS += -DCOLOR_SCHEME_B
CFLAGS += -DENGLISH_LANG
#CFLAGS += -DSPANISH_LANG
#CFLAGS += -DDUTCH_LANG
#CFLAGS += -DGERMAN_LANG
#CFLAGS += -DSWEDISH_LANG
#CFLAGS += -DCHINESE_LANG
#CFLAGS += -DBRAZIL_LANG
#CFLAGS += -DRUSSIAN_LANG
#CFLAGS += -DITALIAN_LANG
#CFLAGS += -DUKRAINIAN_LANG
#CFLAGS += -DSERBOCROATIAN_LANG
# 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
#uncomment the line below if your using MiNT
#CLIBS= -lsocket
#uncomment the line below if your using NeXT
#CFLAGS += -posix
OBJS =file_util.o icq_response.o micq.o msg_queue.o rus_conv.o sendmsg.o \
      server.o  ui.o util.o  util_ui.o mreadline.o mselect.o
      
HEADERS = datatype.h micq.h ui.h msg_queue.h mreadline.h mselect.h
#
all : micq

re : clean all

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

${OBJS} : ${HEADERS}

clean :
	rm -f ${OBJS}

