summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-22 20:15:34 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-22 20:15:34 +0000
commitdb2de0fc6269ee8af47bd978af96272be6138207 (patch)
treec9c7636b56dcea47ffede6d7e38a055499aa6088 /Makefile
parentb6bd12c3f0303e71b580e5ff0eb8e9adf580d286 (diff)
downloadmandoc-db2de0fc6269ee8af47bd978af96272be6138207.tar.gz
Fuller seperation into mdocml/libmdocml.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 47bbb565..af8856f0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,13 +2,13 @@ CFLAGS += -W -Wall -g
LINTFLAGS += -c -e -f -u
-CLEAN = mdocml mdocml.o mdocml.ln libmdocml.o libmdocml.ln mdocml.tgz
+CLEAN = mdocml mdocml.o mdocml.ln libmdocml.o libmdocml.ln mdocml.tgz llib-lmdocml.ln
INSTALL = Makefile libmdocml.h mdocml.c libmdocml.c mdocml.1
all: mdocml
-lint: mdocml.ln libmdocml.ln
+lint: llib-lmdocml.ln
dist: mdocml.tgz
@@ -24,6 +24,9 @@ mdocml.tgz: $(INSTALL)
( cd .dist/ && tar zcf ../mdocml.tgz mdocml/ )
rm -rf .dist/
+llib-lmdocml.ln: mdocml.ln libmdocml.ln
+ $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln
+
mdocml.ln: mdocml.c
mdocml.o: mdocml.c