-# $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
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 *~