X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=chat%2FMakefile.linux;h=c4d6bf29721f9f8bb34f8a3b572bd75f0a77a141;hp=b0a14b94ef5593bbe84f107c22fa1556fe31163d;hb=b289ec4c473338c67bce0cb5712616da2d2493e8;hpb=a8ac4606ea90b5951d701b303e0ddcb87934c9e1 diff --git a/chat/Makefile.linux b/chat/Makefile.linux index b0a14b9..c4d6bf2 100644 --- a/chat/Makefile.linux +++ b/chat/Makefile.linux @@ -1,4 +1,4 @@ -# $Id: Makefile.linux,v 1.8 1999/08/12 03:56:21 paulus Exp $ +# $Id: Makefile.linux,v 1.10 2004/01/13 03:57:55 paulus Exp $ CDEF1= -DTERMIOS # Use the termios structure CDEF2= -DSIGTYPE=void # Standard definition @@ -6,14 +6,15 @@ CDEF3= -UNO_SLEEP # Use the usleep function CDEF4= -DFNDELAY=O_NDELAY # Old name value CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) -CFLAGS= -O2 -pipe $(CDEFS) +COPTS= -O2 -g -pipe $(CDEFS) +CFLAGS= $(COPTS) $(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