summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/ip_cl/Makefile
blob: 9503c4dac501ecb6b6f92532f55c6fcd44685cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# TR turns on tracing, to the specified file.
TR=	-DTR=\"/dev/ttypa\"
#TR=	-DTR=\"__log\"

# VI is the binary that ip_cl runs.
VI=	-DVI=\"../build.local/nvi\"

DEBUG=	-DDEBUG -g
INC=	-I. -I../build.local -I../include
CFLAGS=	$(DEBUG) $(TR) $(VI) $(INC)

OBJS=	ip_cl.o

LIBS=	-lcurses -ltermcap

ip_cl: ${OBJS}
	${CC} ${OBJS} -o $@ ${LIBS}

clean:
	rm -f ip_cl ${OBJS}
OpenPOWER on IntegriCloud