From 1c8f2a3d19119405166bf2a6e992cd7713c94819 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 25 Oct 2005 23:41:26 +0200 Subject: [PATCH] Enter all directories and print all Makefiles for 'make list' --- Makefile.lib | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.lib b/Makefile.lib index b33a922c..dfde57c8 100644 --- a/Makefile.lib +++ b/Makefile.lib @@ -73,7 +73,14 @@ OBJS += $(OBJS-yes) endif ifneq ($(findstring cleanall,$(MAKECMDGOALS)),) +INCLUDE_ALL=1 +endif +ifneq ($(findstring list,$(MAKECMDGOALS)),) +INCLUDE_ALL=1 +endif + +ifdef INCLUDE_ALL ifdef SUBDIRS-no SUBDIRS += $(SUBDIRS-no) endif