summaryrefslogtreecommitdiffstats
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
commit90b7feb891f3f87751c0a0c0b57b38c8834ede8e (patch)
tree09820ff749c6795cccca121a7d1ee9752a101825 /Makefile
parent258474969d9b8106ce94ac7945ea0635c4726b95 (diff)
downloadmandoc-90b7feb891f3f87751c0a0c0b57b38c8834ede8e.tar.gz
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