xref: /titanic_50/usr/src/cmd/cmd-inet/usr.bin/chat/Makefile (revision 45818ee124adeaaf947698996b4f4c722afc6d1f)
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