added lint targets for Makefiles and a configure test to find whether lclint or lint...
[mmh] / sbr / Makefile.in
index a2bc3bd..9e8e8aa 100644 (file)
@@ -22,6 +22,9 @@ TSORT  = @TSORT@
 RANLIB = @RANLIB@
 LIBTOOL = @LIBTOOL@
 GNU_LIBTOOL = @GNU_LIBTOOL@
+LINT   = @LINT@
+LINTFLAGS = @LINTFLAGS@ 
+
 
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
 
@@ -78,6 +81,9 @@ all: libmh.a
 sigmsg.h: sigmsg.awk
        $(AWK) -f $(srcdir)/sigmsg.awk $(SIGNAL_H) > $@
 
+lint: sigmsg.h
+       $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
+
 dtimep.c: dtimep.lex
        $(LEX) -nit $< > $@