# 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
#
# Most options that were here and soem that weren't have been moved to config.h
# edit that file to set up options.
#
CC = gcc
CFLAGS = -O4 -Wall -DUNIX 
CFLAGS += -DENGLISH_LANG
#CFLAGS += -DBULGARIAN_LANG
#CFLAGS += -DPOLISH_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
#CFLAGS += -DCROATIAN_LANG
#CFLAGS += -DINDONESIAN_LANG
#CFLAGS += -DFRENCH_LANG
#CFLAGS += -DFINNISH_LANG
# 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 network.o \
      char_conv.o jp_conv.o
      
HEADERS = config.h datatype.h micq.h ui.h msg_queue.h mreadline.h mselect.h util_ui.h
#
#uncomment next two lines if you are using BeOS
#OBJS += beos.o
#HEADERS +=beos.h

all : micq

re : clean all

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

${OBJS} : ${HEADERS}

clean :
	rm -f ${OBJS}

