summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/ip_cl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/nvi/ip_cl/Makefile')
-rw-r--r--contrib/nvi/ip_cl/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/nvi/ip_cl/Makefile b/contrib/nvi/ip_cl/Makefile
new file mode 100644
index 0000000..9503c4d
--- /dev/null
+++ b/contrib/nvi/ip_cl/Makefile
@@ -0,0 +1,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