]> git.ozlabs.org Git - ppp.git/blob - chat/Makefile.linux
fix stats stuff
[ppp.git] / chat / Makefile.linux
1 #       $Id: Makefile.linux,v 1.1 1995/04/28 05:26:48 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=  -DLOCK_DIR=\"/usr/spool/uucp\"  # Directory for lock file
8 CDEF4=  -DSIGTYPE=void                  # Standard definition
9 CDEF5=  -UNO_SLEEP                      # Use the usleep function
10 CDEF6=  -DFNDELAY=O_NDELAY              # Old name value
11 CDEFS=  $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) $(CDEF5) $(CDEF6)
12
13 CFLAGS= -O2 -N $(CDEFS)
14
15 all:    chat
16
17 chat:   chat.o
18         $(CC) -o chat chat.o
19
20 chat.o: chat.c
21         $(CC) -c $(CFLAGS) -o chat.o chat.c
22
23 install: chat
24         install -c chat $(BINDIR)
25
26 clean:
27         rm -f chat.o chat *~