X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=chat%2FMakefile.linux;h=6568cbb77f4cc4ef8215eb10ba1fa8ceab70a705;hp=1531410fa8c7874cfac1dc18fe3f45597ef6ae17;hb=4808373207947dffebef097fe80e4f3cb9b28631;hpb=36b9eaf645b253e2ce4b1904f325835e427fc321 diff --git a/chat/Makefile.linux b/chat/Makefile.linux index 1531410..6568cbb 100644 --- a/chat/Makefile.linux +++ b/chat/Makefile.linux @@ -1,13 +1,14 @@ -# $Id: Makefile.linux,v 1.4 1995/12/11 02:55:14 paulus Exp $ +# $Id: Makefile.linux,v 1.9 1999/08/13 01:54:32 paulus Exp $ CDEF1= -DTERMIOS # Use the termios structure -CDEF2= -DPIDSTRING # I like ascii pid values -CDEF3= -DSIGTYPE=void # Standard definition -CDEF4= -UNO_SLEEP # Use the usleep function -CDEF5= -DFNDELAY=O_NDELAY # Old name value -CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) $(CDEF5) +CDEF2= -DSIGTYPE=void # Standard definition +CDEF3= -UNO_SLEEP # Use the usleep function +CDEF4= -DFNDELAY=O_NDELAY # Old name value +CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) -CFLAGS= -O2 -N $(CDEFS) +CFLAGS= -O2 -g -pipe $(CDEFS) + +INSTALL= install all: chat @@ -19,8 +20,8 @@ chat.o: chat.c install: chat mkdir -p $(BINDIR) - install -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 *~