aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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)