]> git.ozlabs.org Git - ppp.git/blob - chat/Makefile.linux
Mods from Al Longyear and Robert Geer to add REPORT stuff.
[ppp.git] / chat / Makefile.linux
1 #       $Id: Makefile.linux,v 1.2 1995/06/12 11:24:12 paulus Exp $
2
3 BINDIR=/usr/etc
4
5 CDEF1=  -DTERMIOS                       # Use the termios structure
6 CDEF2=  -DPIDSTRING                     # I like ascii pid values
7 CDEF3=  -DSIGTYPE=void                  # Standard definition
8 CDEF4=  -UNO_SLEEP                      # Use the usleep function
9 CDEF5=  -DFNDELAY=O_NDELAY              # Old name value
10 CDEFS=  $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) $(CDEF5)
11
12 CFLAGS= -O2 -N $(CDEFS)
13
14 all:    chat
15
16 chat:   chat.o
17         $(CC) -o chat chat.o
18
19 chat.o: chat.c
20         $(CC) -c $(CFLAGS) -o chat.o chat.c
21
22 install: chat
23         install -c chat $(BINDIR)
24
25 clean:
26         rm -f chat.o chat *~