From: Brian Paul Date: Wed, 25 Aug 2004 14:49:41 +0000 (+0000) Subject: print current config name before building src and progs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ad65543388f7c8048b2040450766bbc3a312a69;p=mesa.git print current config name before building src and progs --- diff --git a/progs/Makefile b/progs/Makefile index d6b0477a43a..858d628c0a5 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 ffcddffec5f..ffe2dbc6a2f 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: