From 84999fdb7f4d16837e7b39a4dbc721d4842b542a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 7 Aug 1998 17:48:02 +0200 Subject: [PATCH] Added target compiler-warnings. Rev: src/Makefile.in:1.113 --- src/Makefile.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/Makefile.in b/src/Makefile.in index 3ec1c71eb0..643f7d50ae 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,5 +1,5 @@ # -# $Id: Makefile.in,v 1.112 1998/08/05 22:45:02 hubbe Exp $ +# $Id: Makefile.in,v 1.113 1998/08/07 15:48:02 grubba Exp $ # # This line is needed on some machines. @@ -133,6 +133,18 @@ OBJ= \ all: module_objects hilfe $(MAKE) $(MAKE_FLAGS) pike +compiler-warnings : clean + @echo Summarizing compiler warnings. + @echo + @if $(MAKE) $(MAKE_FLAGS) all 2>compiler-warnings ; then \ + echo; \ + echo 'Compilation warning summary:'; \ + else \ + echo; \ + echo 'Compilation warning and error summary:'; \ + fi + @cat compiler-warnings + pike: $(OBJ) modules/linker_options -@if [ -f pike ] ; then mv pike pike.old || : ; else : ; fi $(LD) $(LDFLAGS) $(OBJ) `cat modules/linker_options` $(LIBS) -o pike @@ -292,6 +304,7 @@ clean: tidy -rm -f TAGS tags -rm -f yacc.acts yacc.debug yacc.tmp *.debug.log a.out -rm -f hilfe master.pike + -rm -f compiler-warnings find lib/modules/ -type f -name '*.so_pure*' -exec rm -f \{\} \; # -rm -f lib/master.pike -- GitLab