added lint targets for Makefiles and a configure test to find whether lclint or lint...
[mmh] / zotnet / mf / Makefile.in
index 7871ca7..0187714 100644 (file)
@@ -14,6 +14,8 @@ CC       = @CC@
 CFLAGS   = @CFLAGS@
 DEFS     = @DEFS@
 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir)
+LINT    = @LINT@
+LINTFLAGS = @LINTFLAGS@
 
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
 
@@ -60,6 +62,11 @@ realclean: distclean
 
 superclean: realclean
 
+# ========== DEPENDENCIES FOR LINT ================
+
+lint: 
+       $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
+
 # ========== DEPENDENCIES FOR MAINTENANCE ==========
 
 subdir = zotnet/mf