summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 644d3421..47624ee7 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
LIBLNS = macro.ln mdoc.ln hash.ln strings.ln xstd.ln argv.ln \
validate.ln action.ln
-BINLNS = mdocml.ln term.ln tree.ln
+BINLNS = mdocml.ln term.ln tree.ln termact.ln
LNS = $(LIBLNS) $(BINLNS)
@@ -16,14 +16,14 @@ LIBS = libmdoc.a
LIBOBJS = macro.o mdoc.o hash.o strings.o xstd.o argv.o \
validate.o action.o
-BINOBJS = mdocml.o term.o tree.o
+BINOBJS = mdocml.o term.o tree.o termact.o
OBJS = $(LIBOBJS) $(BINOBJS)
SRCS = macro.c mdoc.c mdocml.c hash.c strings.c xstd.c argv.c \
- validate.c action.c
+ validate.c action.c term.c tree.c termact.c
-HEADS = mdoc.h private.h
+HEADS = mdoc.h private.h term.h
MANS = mdocml.1 mdoc.3
@@ -136,9 +136,13 @@ tree.ln: tree.c mdoc.h
tree.o: tree.c mdoc.h
-term.ln: term.c private.h
+term.ln: term.c term.h
-term.o: term.c private.h
+term.o: term.c term.h
+
+termact.ln: termact.c term.h
+
+termact.o: termact.c term.h
strings.ln: strings.c private.h
@@ -206,5 +210,5 @@ libmdoc.a: $(LIBOBJS)
$(AR) rs $@ $(LIBOBJS)
mdocml: $(BINOBJS) libmdoc.a
- $(CC) $(CFLAGS) -o $@ $(BINOBJS) libmdoc.a -lcurses
+ $(CC) $(CFLAGS) -o $@ $(BINOBJS) libmdoc.a