From b5db14a3fb9fbcd780b4fcb05c2298c8bbef0a54 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 17 Feb 2006 12:09:52 +0000 Subject: combine the output rules in one place --- Makerules | 7 +++++++ Rules.mak | 11 ----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Makerules b/Makerules index 429b6aa7f..47c0157ec 100644 --- a/Makerules +++ b/Makerules @@ -31,13 +31,20 @@ all_objs: $(ar_objs) endif headers-y: $(headers-y) + @true MAKEFLAGS += --no-print-directory +SHELL_SET_X := set +x ifneq ($(findstring s,$(MAKEFLAGS)),) +export MAKE_IS_SILENT := y +SECHO := -@false DISP := sil Q := @ else +export MAKE_IS_SILENT := n +SECHO := @echo ifneq ($(V)$(VERBOSE),) +SHELL_SET_X := set -x DISP := ver Q := else diff --git a/Rules.mak b/Rules.mak index 12eb92d68..212b43a2d 100644 --- a/Rules.mak +++ b/Rules.mak @@ -113,17 +113,6 @@ check_as=$(shell \ if $(CC) -Wa,$(1) -Wa,-Z -c -o /dev/null -xassembler /dev/null > /dev/null 2>&1; \ then echo "-Wa,$(1)"; fi) -# Setup some shortcuts so that silent mode is silent like it should be -ifeq ($(findstring s,$(MAKEFLAGS)),) -export MAKE_IS_SILENT=n -SECHO=@echo -SHELL_SET_X=set -x -else -export MAKE_IS_SILENT=y -SECHO=-@false -SHELL_SET_X=set +x -endif - ARFLAGS:=cr OPTIMIZATION:= -- cgit v1.2.3