From 0ad65543388f7c8048b2040450766bbc3a312a69 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 25 Aug 2004 14:49:41 +0000 Subject: print current config name before building src and progs --- progs/Makefile | 9 ++++++++- src/Makefile | 6 +++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/progs/Makefile b/progs/Makefile index d6b0477a43..858d628c0a 100644 --- a/progs/Makefile +++ b/progs/Makefile @@ -7,7 +7,14 @@ include $(TOP)/configs/current SUBDIRS = $(PROGRAM_DIRS) -default: $(TOP)/configs/current +default: message subdirs + + +message: + @echo "Making programs for" $(CONFIG_NAME) + + +subdirs: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ (cd $$dir ; $(MAKE)) || exit 1 ; \ diff --git a/src/Makefile b/src/Makefile index ffcddffec5..ffe2dbc6a2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,7 +7,11 @@ include $(TOP)/configs/current SUBDIRS = $(SRC_DIRS) -default: $(LIB_DIR) subdirs +default: message $(LIB_DIR) subdirs + + +message: + @echo "Making sources for" $(CONFIG_NAME) subdirs: -- cgit v1.2.3