]> git.ozlabs.org Git - ppp.git/blobdiff - chat/Makefile.linux
Forgot to remote *.ln files (made by lint) when doing make clean.
[ppp.git] / chat / Makefile.linux
index f46f884b8b0e0483707418739d95f27d4e5c0049..6568cbb77f4cc4ef8215eb10ba1fa8ceab70a705 100644 (file)
@@ -1,4 +1,4 @@
-#      $Id: Makefile.linux,v 1.6 1996/05/26 23:56:36 paulus Exp $
+#      $Id: Makefile.linux,v 1.9 1999/08/13 01:54:32 paulus Exp $
 
 CDEF1= -DTERMIOS                       # Use the termios structure
 CDEF2= -DSIGTYPE=void                  # Standard definition
@@ -6,20 +6,22 @@ CDEF3=        -UNO_SLEEP                      # Use the usleep function
 CDEF4= -DFNDELAY=O_NDELAY              # Old name value
 CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
 
-CFLAGS=        -O2 $(CDEFS)
+CFLAGS=        -O2 -g -pipe $(CDEFS)
+
+INSTALL= install
 
 all:   chat
 
 chat:  chat.o
-       $(CC) -s -O2 -o chat chat.o
+       $(CC) -o chat chat.o
 
 chat.o:        chat.c
        $(CC) -c $(CFLAGS) -o chat.o chat.c
 
 install: chat
        mkdir -p $(BINDIR)
-       install -s -c chat $(BINDIR)
-       install -c chat.8 $(MANDIR)/man8
+       $(INSTALL) -s -c chat $(BINDIR)
+       $(INSTALL) -c -m 644 chat.8 $(MANDIR)/man8
 
 clean:
        rm -f chat.o chat *~