1 #
2 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
4 #
5
6 PROG= chat
7 OBJS= chat.o
8 SRCS= $(OBJS:%.o=%.c)
9
10 include ../../../Makefile.cmd
11
12 CPPFLAGS += -DSOL2
13 LDFLAGS += $(MAPFILE.NGB:%=-M%)
14 CERRWARN += -_gcc=-Wno-unused-value
15 CERRWARN += -_gcc=-Wno-trigraphs
16
17 .KEEP_STATE:
18
19 all: $(PROG)
20
21 install: all $(ROOTPROG)
22
23 clean:
24 $(RM) $(OBJS)
25
26 lint:
27
28 include ../../../Makefile.targ
|
1 #
2 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
4 #
5 # Copyright (c) 2018, Joyent, Inc.
6
7 PROG= chat
8 OBJS= chat.o
9 SRCS= $(OBJS:%.o=%.c)
10
11 include ../../../Makefile.cmd
12
13 CPPFLAGS += -DSOL2
14 LDFLAGS += $(MAPFILE.NGB:%=-M%)
15 CERRWARN += -_gcc=-Wno-unused-value
16 CERRWARN += -_gcc=-Wno-trigraphs
17
18 # not linted
19 SMATCH=off
20
21 .KEEP_STATE:
22
23 all: $(PROG)
24
25 install: all $(ROOTPROG)
26
27 clean:
28 $(RM) $(OBJS)
29
30 lint:
31
32 include ../../../Makefile.targ
|