blob: 4cf974181e45ad6fe509dc1d35c8c73da477a701 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#
# Makefile for chat on NeXTs
#
# $Id: Makefile.NeXT,v 1.4 1998/03/25 03:18:32 paulus Exp $
#
ARCHFLAGS =
BINDIR = /usr/local/ppp/bin
MANDIR = /usr/local/ppp/man
CFLAGS= -O -D_POSIX_SOURCE $(ARCHFLAGS)
SRCS = chat.c
OBJS = chat.o
LIBS = ../NeXT/libposix/libposix.o
MANPAGES = chat.8
#
# Load dependencies
#
all: chat
chat: $(OBJS)
$(CC) -o chat $(CFLAGS) $(OBJS) $(LIBS)
install:
/bin/mkdirs $(MANDIR)/man8 $(BINDIR)
install -c -s -m 555 -o root -g wheel chat $(BINDIR)/chat
install -c -m 444 -o root -g wheel chat.8 $(MANDIR)/man8
clean:
rm -f *~ *.o chat
|