summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-24 14:24:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-24 14:24:55 +0000
commit3238820d08da942be84ccab704e810b0f6d8bcf4 (patch)
tree95aa8bf9dc7c3dfb08fb8b46d811fabd58008b44 /Makefile
parenta73f55c2be0ca8e1deeeb05389879a52e46f05d2 (diff)
downloadmandoc-3238820d08da942be84ccab704e810b0f6d8bcf4.tar.gz
Split roff engine into roff.c.
Re-worked calling convention for md_*.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 93d27a3d..e0242577 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
CFLAGS += -W -Wall -Wno-unused-parameter -g
LINTFLAGS += -c -e -f -u
-LNS = mdocml.ln html4_strict.ln dummy.ln libmdocml.ln
+LNS = mdocml.ln html4_strict.ln dummy.ln libmdocml.ln roff.ln
LLNS = llib-lmdocml.ln
LIBS = libmdocml.a
-OBJS = mdocml.o html4_strict.o dummy.o libmdocml.o
+OBJS = mdocml.o html4_strict.o dummy.o libmdocml.o roff.o
-SRCS = mdocml.c html4_strict.c dummy.c libmdocml.c
+SRCS = mdocml.c html4_strict.c dummy.c libmdocml.c roff.c
HEADS = libmdocml.h private.h
@@ -38,8 +38,8 @@ mdocml.tgz: $(INSTALL)
( cd .dist/ && tar zcf ../mdocml.tgz mdocml/ )
rm -rf .dist/
-llib-lmdocml.ln: mdocml.ln libmdocml.ln html4_strict.ln dummy.ln
- $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html4_strict.ln dummy.ln
+llib-lmdocml.ln: mdocml.ln libmdocml.ln html4_strict.ln dummy.ln roff.ln
+ $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html4_strict.ln dummy.ln roff.ln
mdocml.ln: mdocml.c
@@ -47,8 +47,8 @@ mdocml.o: mdocml.c
mdocml.c: libmdocml.h
-libmdocml.a: libmdocml.o html4_strict.o dummy.o
- $(AR) rs $@ libmdocml.o html4_strict.o dummy.o
+libmdocml.a: libmdocml.o html4_strict.o dummy.o roff.o
+ $(AR) rs $@ libmdocml.o html4_strict.o dummy.o roff.o
html4_strict.ln: html4_strict.c
@@ -56,8 +56,15 @@ html4_strict.o: html4_strict.c
html4_strict.c: private.h libmdocml.h
+roff.ln: roff.c
+
+roff.o: roff.c
+
+roff.c: private.h libmdocml.h
+
libmdocml.ln: libmdocml.c
libmdocml.o: libmdocml.c
libmdocml.c: private.h libmdocml.h
+