summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-21 19:05:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-21 19:05:28 +0000
commite4966b859ee26adbd25172e1e2e7d266feb6d36c (patch)
tree7cd62a239b6c80c9fe9aea4925959cce335720bb /Makefile
parent82f95d740250f9802dd32d845731167161f7ee8e (diff)
downloadmandoc-e4966b859ee26adbd25172e1e2e7d266feb6d36c.tar.gz
mandoc-e4966b859ee26adbd25172e1e2e7d266feb6d36c.tar.zst
mandoc-e4966b859ee26adbd25172e1e2e7d266feb6d36c.zip
Split down term.c into term.h, termact.c.
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