Merge illumos-gate
[unleashed/lotheac.git] / usr / src / cmd / cmd-inet / usr.bin / chat / Makefile
blob9dc4241972a260aefd647cbc60e64b9ba07dd47c
2 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # Copyright (c) 2018, Joyent, Inc.
7 PROG= chat
8 OBJS= chat.o
9 SRCS= $(OBJS:%.o=%.c)
11 include ../../../Makefile.cmd
13 CPPFLAGS += -DSOL2
14 LDFLAGS += $(MAPFILE.NGB:%=-Wl,-M%)
15 CERRWARN += -Wno-unused-value
16 CERRWARN += -Wno-trigraphs
18 # not linted
19 SMATCH=off
21 .KEEP_STATE:
23 all: $(PROG)
25 install: all $(ROOTPROG)
27 clean:
28 $(RM) $(OBJS)
31 include ../../../Makefile.targ