X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=chat%2FMakefile.linux;h=6568cbb77f4cc4ef8215eb10ba1fa8ceab70a705;hp=7f9cbb3d415ca06fe72ad255acc7d77bcaba1cae;hb=d0d16c4ba18e31f76e891201e5e106887f87bbf0;hpb=0f61ac5460e89dd768f1fb56fbdd8fa6f8af79f1 diff --git a/chat/Makefile.linux b/chat/Makefile.linux index 7f9cbb3..6568cbb 100644 --- a/chat/Makefile.linux +++ b/chat/Makefile.linux @@ -1,26 +1,27 @@ -# $Id: Makefile.linux,v 1.5 1995/12/18 03:32:43 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 $(CDEFS) +CFLAGS= -O2 -g -pipe $(CDEFS) + +INSTALL= install all: chat chat: chat.o - $(CC) -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 -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 *~