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