]> git.ozlabs.org Git - ppp.git/blob - chat/Makefile.NeXT
updates from Steve Perkins
[ppp.git] / chat / Makefile.NeXT
1 #
2 # Makefile for chat on NeXTs
3
4 # $Id: Makefile.NeXT,v 1.2 1997/03/04 03:45:38 paulus Exp $
5 #
6
7 ARCHFLAGS = 
8 BINDIR = /usr/local/ppp/bin
9 MANDIR = /usr/local/ppp/man
10
11 CFLAGS= -O -posix $(ARCHFLAGS)
12
13 SRCS =   chat.c
14 OBJS =   chat.o
15
16 MANPAGES = chat.8
17
18
19 #
20 # Load dependencies
21 #
22 all:    chat
23
24 chat:   $(OBJS)
25         $(CC) -o chat $(CFLAGS) $(OBJS)
26
27 install:
28         /bin/mkdirs $(MANDIR)/man8 $(BINDIR) 
29         install -c -s -m 555 -o root -g wheel chat $(BINDIR)/chat
30         install -c -m 444 -o root -g wheel chat.8 $(MANDIR)/man8
31
32 clean:
33         rm -f *~ *.o chat
34