diff options
-rw-r--r-- | progs/Makefile | 9 | ||||
-rw-r--r-- | 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: |