CPU: Wrong CPU Load %.
[tomato.git] / release / src / router / ppp / chat / Makefile.linux
blob80059e26ef189b4d9ce2c3f854f505c7d1cce0d1
1 #       $Id: Makefile.linux,v 1.1.1.4 2003/10/14 08:09:52 sparq 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 -g -pipe $(CDEFS)
11 INSTALL= install
13 all:    chat
15 chat:   chat.o
16         $(CC) -o chat chat.o
18 chat.o: chat.c
19         $(CC) -c $(CFLAGS) -o chat.o chat.c
21 install: chat
22         mkdir -p $(BINDIR)
23         $(INSTALL) -s -c chat $(BINDIR)
24         $(INSTALL) -c -m 644 chat.8 $(MANDIR)/man8
26 clean:
27         rm -f chat.o chat *~