summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-08-05 19:47:46 -0400
committerJune McEnroe <june@causal.agency>2019-08-05 19:47:46 -0400
commit27b43da4014695dba485ccd213f023db81c28b5f (patch)
tree8021666db7193fab6e6feeb537033ececbbb34f8 /Makefile
parentImplement RI (diff)
downloadstream-27b43da4014695dba485ccd213f023db81c28b5f.tar.gz
stream-27b43da4014695dba485ccd213f023db81c28b5f.zip
Add basic viewer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
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