head	1.2;
access;
symbols;
locks
	zach:1.2; strict;
comment	@# @;


1.2
date	2000.02.14.00.16.41;	author zach;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.06.23.12.07;	author zach;	state Exp;
branches;
next	;


desc
@@


1.2
log
@info mesgs moved to the server window
@
text
@CC = cc 

# if you get strstr undefined, add -DSTRSTR to the DEFINES line below
# if you get bcopy undefined, add -DBCOPY 
# if you get strtol undefined, add -DSTRTOL

# if you change something in the Makefile, you may need to 
# type rm *.o before trying to recompile.

# The -DLOG below causes igc to create dump?.igc files which 
# contain logs of each IGS session.  Remove the -DLOG
# to suppress creation of the dump files.  I may request 
# the log files from you if you report bugs.

DEFINES =# -DLOG

# You may want to add -DIOCTL to the DEFINES line if you have 
# a BSD unix.  This turns off the printing of passwords to the screen
# as you log in.  

# If you use a gateway rather than connecting directly to the
# server, you may wish to use -DGATEWAY which surpresses 
# echo negotiations.  

# You may want to change -g (include debug information) into
# -O for optimize.  If you do this, also run strip on the 
# igc file:  'strip igc'.  This will make the executable
# even smaller.

# on SGI you may want to do the following
WOFF = -woff 1201,1196,1498

CFLAGS = -xansi -fullwarn -g  $(DEFINES) $(WOFF)

LIBS = 	-lcurses -ltermlib

# link line for PTX.  System V systems need something like this:
#LIBS = -lcurses -ltermlib -lsocket -linet -lnsl 

# Linux 
#LIBS = -lncurses -ltermcap

# Under RS/6000 AIX 3.1, remove the -ltermlib 

PROGRAM = igc

MAN = igc.doc

OBJ = socket.o igc.o parse.o ascii.o board.o

SRC = socket.c igc.c parse.c ascii.c board.c

HDRS =	numbers.h igc.h

FILES = README $(SRC) $(HDRS) Makefile igc.6 BUGS

all: $(PROGRAM) 

$(PROGRAM): $(OBJ)
	$(CC) $(OBJ) $(LIBS) -o $(PROGRAM)

$(MAN): igc.6
	nroff -man igc.6 > $(MAN)

$(OBJ): $(HDRS)

clean:
	rm -f *.o

Clean:
	rm -f *.o igc igc.doc

tgs:
	/igd/a4/software/vim/bin/ctags *.c *.h

@


1.1
log
@already a few changes / bug fixes by me (GZ)
@
text
@a59 1
	@@echo Loading...
a66 9
shar: 
	@@shar $(FILES) > $(PROGRAM).shar

shar2: 
	@@shar -m 200000 -f $(PROGRAM) $(FILES) 

lint:
	lint $(SRC) -lcurses > lintout

d72 3
@
