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