added lint targets for Makefiles and a configure test to find whether lclint or lint...
[mmh] / mts / Makefile.in
index 328a9ea..8627795 100644 (file)
@@ -62,6 +62,13 @@ mostlyclean-recursive clean-recursive distclean-recursive realclean-recursive su
          (cd $$subdir && $(MAKE) $(MAKEDEFS) $$target) || exit 1; \
        done
 
+# ========== DEPENDENCIES FOR LINT =================
+
+lint:
+       for subdir in $(SUBDIRS); do \
+         ( cd $$subdir && $(MAKE) $(MAKEDEFS) lint ) || exit 1; \
+       done
+
 # ========== DEPENDENCIES FOR MAINTENANCE ==========
 
 subdir = mts