summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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