From ac4bc07079be4963163734d67749697140f23b4b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 3 Dec 2008 14:39:59 +0000 Subject: Abstract ml/mlg/html/xml. --- Makefile | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c2656cf3..a5ec3972 100644 --- a/Makefile +++ b/Makefile @@ -2,15 +2,15 @@ CFLAGS += -W -Wall -Wno-unused-parameter -g LINTFLAGS += -c -e -f -u -LNS = mdocml.ln html4_strict.ln xml.ln libmdocml.ln roff.ln ml.ln +LNS = mdocml.ln html.ln xml.ln libmdocml.ln roff.ln ml.ln mlg.ln compat.ln LLNS = llib-lmdocml.ln LIBS = libmdocml.a -OBJS = mdocml.o html4_strict.o xml.o libmdocml.o roff.o ml.o +OBJS = mdocml.o html.o xml.o libmdocml.o roff.o ml.o mlg.o compat.o -SRCS = mdocml.c html4_strict.c xml.c libmdocml.c roff.c ml.c +SRCS = mdocml.c html.c xml.c libmdocml.c roff.c ml.c mlg.c compat.c HEADS = libmdocml.h private.h @@ -52,23 +52,23 @@ mdocml.tgz: $(INSTALL) ( cd .dist/ && tar zcf ../mdocml.tgz mdocml/ ) rm -rf .dist/ -llib-lmdocml.ln: mdocml.ln libmdocml.ln html4_strict.ln xml.ln roff.ln ml.ln - $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html4_strict.ln xml.ln roff.ln ml.ln +llib-lmdocml.ln: mdocml.ln libmdocml.ln html.ln xml.ln roff.ln ml.ln mlg.ln compat.ln + $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html.ln xml.ln roff.ln ml.ln mlg.ln compat.ln mdocml.ln: mdocml.c libmdocml.h mdocml.o: mdocml.c libmdocml.h -libmdocml.a: libmdocml.o html4_strict.o xml.o roff.o ml.o - $(AR) rs $@ libmdocml.o html4_strict.o xml.o roff.o ml.o +libmdocml.a: libmdocml.o html.o xml.o roff.o ml.o mlg.o compat.o + $(AR) rs $@ libmdocml.o html.o xml.o roff.o ml.o mlg.o compat.o -xml.ln: xml.c private.h libmdocml.h +xml.ln: xml.c private.h libmdocml.h ml.h -xml.o: xml.c private.h libmdocml.h +xml.o: xml.c private.h libmdocml.h ml.h -html4_strict.ln: html4_strict.c private.h libmdocml.h +html.ln: html.c private.h libmdocml.h -html4_strict.o: html4_strict.c private.h libmdocml.h +html.o: html.c private.h libmdocml.h roff.ln: roff.c private.h libmdocml.h @@ -78,6 +78,14 @@ libmdocml.ln: libmdocml.c private.h libmdocml.h libmdocml.o: libmdocml.c private.h libmdocml.h -ml.ln: ml.c private.h libmdocml.h +ml.ln: ml.c private.h libmdocml.h ml.h -ml.o: ml.c private.h libmdocml.h +ml.o: ml.c private.h libmdocml.h ml.h + +mlg.ln: mlg.c private.h libmdocml.h ml.h + +mlg.o: mlg.c private.h libmdocml.h ml.h + +compat.ln: compat.c + +compat.o: compat.c -- cgit