xref: /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/Makefile (revision d1e631af56641f21cde1f1efe3a9623ff9d6ee7c)
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