1 # $Id: Makefile.linux,v 1.7 1997/11/27 05:59:44 paulus Exp $
3 CDEF1= -DTERMIOS # Use the termios structure
4 CDEF2= -DSIGTYPE=void # Standard definition
5 CDEF3= -UNO_SLEEP # Use the usleep function
6 CDEF4= -DFNDELAY=O_NDELAY # Old name value
7 CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
9 CFLAGS= -O2 -pipe $(CDEFS)
14 $(CC) -s -O2 -o chat chat.o
17 $(CC) -c $(CFLAGS) -o chat.o chat.c
21 install -s -c chat $(BINDIR)
22 install -c -m 644 chat.8 $(MANDIR)/man8