# Fairlight's ICB Client                                                    
# Copyright 1994, Mark Luljak <fairlite@mik.uky.edu>          
#                             <fairlite@arcadia.aldridge.sol.net>                             

PROG=	flicb
SRCS=	clientsock.c curses-io.c strlist.c history.c packet-drivers.c flicb-io.c help-screen.c main.c
OBJS=	clientsock.o curses-io.o strlist.o history.o packet-drivers.o flicb-io.o help-screen.o main.o

# Compiler...  (gcc, cc, etc...)
CC= cc

# Linux TERM v2.0 and up is supported with no difficulty.
# TERM support requires the next 2 lines be uncommented and verified.
TERMFLAGS= -include /usr/local/include/termnet.h
TERMLIBS= -ltermnet

# If the dedication on the help screen REALLY annoys you..... *sigh*
# then uncomment the next line...
#ANNOY=	-DNOANNOY

# Shouldn't have to putz with anything below this....
# -------------------------------------------------------------------------

# The next one is a debugging option I use in key places to see what's
# REALLY happening underneath the interface....should be commented out.
#SYSLOG=	-DSYSLOG

LIBS=	-lcurses -ltermcap ${TERMLIBS}
CFLAGS= -O2 -s ${TERMFLAGS} ${SYSLOG} ${ANNOY}

all:	${PROG}


${PROG}:	$(OBJS)
	$(CC) ${CFLAGS} -o $@ ${OBJS} ${LIBS}
	chmod 711 ${PROG}

clean:	
	rm -f ${OBJS} 

realclean:	
	rm -f ${OBJS} ${PROG}

