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