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