summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-20 11:04:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-20 11:04:23 +0000
commit9ca2c862d8cd73c34a7a1b8ceee8eb45c3115d5a (patch)
treef662e0af14e89eea55ff25935c553b76991418b3 /Makefile
parent0d0191e1509b75f09a185c0ecd6600b832ff9bcc (diff)
downloadmandoc-9ca2c862d8cd73c34a7a1b8ceee8eb45c3115d5a.tar.gz
Re-added tree.c (for now).
Added initial terminal-output filter (term.c).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a5debd89..5458a3fc 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ CFLAGS += -W -Wall -Wno-unused-parameter -g
LIBLNS = macro.ln mdoc.ln hash.ln strings.ln xstd.ln argv.ln \
validate.ln action.ln
-BINLNS = mdocml.ln
+BINLNS = mdocml.ln term.ln tree.ln
LNS = $(LIBLNS) $(BINLNS)
@@ -16,7 +16,7 @@ LIBS = libmdoc.a
LIBOBJS = macro.o mdoc.o hash.o strings.o xstd.o argv.o \
validate.o action.o
-BINOBJS = mdocml.o
+BINOBJS = mdocml.o term.o tree.o
OBJS = $(LIBOBJS) $(BINOBJS)
@@ -132,6 +132,14 @@ macro.ln: macro.c private.h
macro.o: macro.c private.h
+tree.ln: tree.c mdoc.h
+
+tree.o: tree.c mdoc.h
+
+term.ln: term.c mdoc.h
+
+term.o: term.c mdoc.h
+
strings.ln: strings.c private.h
strings.o: strings.c private.h
@@ -198,5 +206,5 @@ libmdoc.a: $(LIBOBJS)
$(AR) rs $@ $(LIBOBJS)
mdocml: $(BINOBJS) libmdoc.a
- $(CC) $(CFLAGS) -o $@ $(BINOBJS) libmdoc.a
+ $(CC) $(CFLAGS) -o $@ $(BINOBJS) libmdoc.a -lcurses