needs to work under gnu make too
[ppp.git] / chat / Makefile.ultrix
index cc9510b82d4e37d7ca7c17ba13d8919484528206..a5d2b1f99e8389c27355e153a2e5224faf1dacbb 100644 (file)
@@ -2,13 +2,19 @@
 # Makefile for chat with ultrix
 #
 
+BINDIR = /usr/local/etc
+MANDIR = /usr/local/man
+
+CFLAGS = -DNO_USLEEP
+
 all:   chat
 
 chat: chat.o
        $(CC) -o chat chat.o
 
-install:
+install: chat
        install -c chat $(BINDIR)/chat
+       install -c -m 444 chat.8 $(MANDIR)/man8/chat.8
 
 clean:
        rm -f *~ *.o chat