From 27b43da4014695dba485ccd213f023db81c28b5f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 5 Aug 2019 19:47:46 -0400 Subject: Add basic viewer --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e1fea15..9b8c704 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CHROOT_GROUP = ${CHROOT_USER} CFLAGS += -Wall -Wextra -Wpedantic LDFLAGS = -static -LDLIBS = -lutil +LDLIBS = -lcurses -lutil -include config.mk @@ -19,7 +19,10 @@ all: tags ${BINS} ingest: ingest.o term.o ${CC} ${LDFLAGS} ingest.o term.o ${LDLIBS} -o $@ -ingest.o term.o: stream.h +view: view.o term.o + ${CC} ${LDFLAGS} view.o term.o ${LDLIBS} -o $@ + +ingest.o term.o view.o: stream.h tags: *.c *.h ctags -w *.c *.h -- cgit 1.4.1