1#
2# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
3#  Use is subject to license terms.
4#
5# Copyright (c) 2018, Joyent, Inc.
6
7PROG=		chat
8OBJS=		chat.o
9SRCS=		$(OBJS:%.o=%.c)
10
11include		../../../Makefile.cmd
12
13CPPFLAGS +=	-DSOL2
14LDFLAGS +=	$(MAPFILE.NGB:%=-Wl,-M%)
15CERRWARN +=	-_gcc=-Wno-unused-value
16CERRWARN +=	-_gcc=-Wno-trigraphs
17
18# not linted
19SMATCH=off
20
21.KEEP_STATE:
22
23all: $(PROG)
24
25install: all $(ROOTPROG)
26
27clean:
28	$(RM) $(OBJS)
29
30include		../../../Makefile.targ
31