From b8e878fa6ca53f214a2336fb7b5cc68e8b801845 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Sun, 29 Mar 2020 23:25:17 -0400
Subject: named binary properly in make
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'Makefile')
diff --git a/Makefile b/Makefile
index 32e5f37..ed22e54 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
.POSIX:
.PHONY: all clean
-OBJS = badroff.o sb.o
+OBJS = badroff.o sb.o buf.o
badroff: $(OBJS)
- $(CC) $(OBJS)
+ $(CC) $(OBJS) -o $@
badroff.o: badroff.c sb.h
sb.o: sb.c sb.h
+buf.o: buf.c buf.h
clean:
rm -f badroff $(OBJS)
--
cgit