summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-25 14:49:41 +0000
committerBrian Paul <[email protected]>2004-08-25 14:49:41 +0000
commit0ad65543388f7c8048b2040450766bbc3a312a69 (patch)
treee209c005820927a43b1e4c4e8f90cd816441a37e
parent3b550e1e3c4d84a24130a50c24b7140c7696656e (diff)
print current config name before building src and progs
-rw-r--r--progs/Makefile9
-rw-r--r--src/Makefile6
2 files changed, 13 insertions, 2 deletions
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: