xref: /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/Makefile (revision b1e2e3fb17324e9ddf43db264a0c64da7756d9e6)
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:%=-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
30lint:
31
32include		../../../Makefile.targ
33