diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |