summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-25 19:23:36 -0500
committerJune McEnroe <programble@gmail.com>2018-02-25 19:23:36 -0500
commit9e8543c9a4e25897350b6156a7245145093fbb27 (patch)
tree7108d2838efe6714368c829794d1f313f0731742 /Makefile
parentRewrite everything (diff)
downloadstream-9e8543c9a4e25897350b6156a7245145093fbb27.tar.gz
stream-9e8543c9a4e25897350b6156a7245145093fbb27.zip
Define rules for multi-object binaries
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ecc777e..7f55f7b 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,13 @@ LDLIBS = -lutil
 all: tags $(BINS)
 
 ingest: ingest.o winch.o
+	$(CC) $(LDFLAGS) ingest.o winch.o $(LDLIBS) -o $@
 
 ptee: ptee.o winch.o
+	$(CC) $(LDFLAGS) ptee.o winch.o $(LDLIBS) -o $@
 
 view: view.o winch.o
+	$(CC) $(LDFLAGS) view.o winch.o $(LDLIBS) -o $@
 
 tags: *.c
 	ctags -w *.c