|
root / base / usr / src / cmd / cmd-inet / usr.bin / chat / Makefile
Makefile Makefile 31 lines 467 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
#  Use is subject to license terms.
#
# Copyright (c) 2018, Joyent, Inc.

PROG=		chat
OBJS=		chat.o
SRCS=		$(OBJS:%.o=%.c)

include		../../../Makefile.cmd

CPPFLAGS +=	-DSOL2
LDFLAGS +=	$(MAPFILE.NGB:%=-Wl,-M%)
CERRWARN +=	-Wno-unused-value
CERRWARN +=	-Wno-trigraphs

# not linted
SMATCH=off

.KEEP_STATE:

all: $(PROG)

install: all $(ROOTPROG)

clean:
	$(RM) $(OBJS)

include		../../../Makefile.targ