added lint targets for Makefiles and a configure test to find whether lclint or lint...
[mmh] / zotnet / bboards / Makefile.in
index 7dedeea..80615a3 100644 (file)
@@ -15,6 +15,9 @@ CFLAGS     = @CFLAGS@
 DEFS       = @DEFS@
 INCLUDES   = -I../.. -I$(srcdir) -I$(top_srcdir)
 
+LINT      = @LINT@
+LINTFLAGS  = @LINTFLAGS@
+
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
 
 .SUFFIXES:
@@ -60,6 +63,11 @@ realclean: distclean
 
 superclean: realclean
 
+# ========== DEPENDENCIES FOR LINT =================
+
+lint: 
+       $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
+
 # ========== DEPENDENCIES FOR MAINTENANCE ==========
 
 subdir = zotnet/bboards