summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-17 14:04:25 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-17 14:04:25 +0000
commit56f0b4a0fb2fb74f3bf1c6f8ed87ce2b716bcf52 (patch)
tree336c6f8871c8ab7b939a25b3e18e651fabbaf704 /Makefile
parent50c7e68a675c2b7d573e94e93564b37785d2cad6 (diff)
downloadmandoc-56f0b4a0fb2fb74f3bf1c6f8ed87ce2b716bcf52.tar.gz
Separating output filters.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index e95a785a..b0fcf0a3 100644
--- a/Makefile
+++ b/Makefile
@@ -2,15 +2,15 @@ VERSION = 1.1.0
CFLAGS += -W -Wall -Wno-unused-parameter -g
-LNS = macro.ln mdoc.ln mdocml.ln hash.ln strings.ln xstd.ln argv.ln validate.ln action.ln
+LNS = macro.ln mdoc.ln mdocml.ln hash.ln strings.ln xstd.ln argv.ln validate.ln action.ln tree.ln
LLNS = llib-llibmdoc.ln llib-lmdocml.ln
LIBS = libmdoc.a
-OBJS = macro.o mdoc.o mdocml.o hash.o strings.o xstd.o argv.o validate.o action.o
+OBJS = macro.o mdoc.o mdocml.o hash.o strings.o xstd.o argv.o validate.o action.o tree.o
-SRCS = macro.c mdoc.c mdocml.c hash.c strings.c xstd.c argv.c validate.c action.c
+SRCS = macro.c mdoc.c mdocml.c hash.c strings.c xstd.c argv.c validate.c action.c tree.c
HEADS = mdoc.h
@@ -22,8 +22,8 @@ all: $(BINS)
lint: $(LLNS)
-mdocml: mdocml.o libmdoc.a
- $(CC) $(CFLAGS) -o $@ mdocml.o libmdoc.a
+mdocml: mdocml.o tree.o libmdoc.a
+ $(CC) $(CFLAGS) -o $@ mdocml.o tree.o libmdoc.a
clean:
rm -f $(CLEAN)
@@ -31,8 +31,8 @@ clean:
llib-llibmdoc.ln: macro.ln mdoc.ln hash.ln strings.ln xstd.ln argv.ln validate.ln action.ln
$(LINT) $(LINTFLAGS) -Clibmdoc mdoc.ln macro.ln hash.ln strings.ln xstd.ln argv.ln validate.ln action.ln
-llib-lmdocml.ln: mdocml.ln llib-llibmdoc.ln
- $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln llib-llibmdoc.ln
+llib-lmdocml.ln: mdocml.ln tree.ln llib-llibmdoc.ln
+ $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln tree.ln llib-llibmdoc.ln
macro.ln: macro.c private.h
@@ -42,6 +42,10 @@ strings.ln: strings.c private.h
strings.o: strings.c private.h
+tree.ln: tree.c mdoc.h
+
+tree.o: tree.c mdoc.h
+
hash.ln: hash.c private.h
hash.o: hash.c private.h