diff options
-rw-r--r-- | subdirs.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,9 +15,9 @@ subdirs: $(SUBDIRS) $(SUBDIRS): echo $(subst $(space),,$(dir_symbol))'|' $@ $(MAKECMDGOALS) ifeq ($(USE_ABSOLUTE_TOPDIR),0) - $(MAKE) -C $@ $(MAKECMDGOALS) + [ -d $@ ] && $(MAKE) -C $@ $(MAKECMDGOALS) || echo no subdir $@ else - TOPDIR="$(TOPDIR_FOR_SUBDIR)" $(MAKE) -C $@ $(MAKECMDGOALS) + [ -d $@ ] && TOPDIR="$(TOPDIR_FOR_SUBDIR)" $(MAKE) -C $@ $(MAKECMDGOALS) || echo no subdir $@ endif .PHONY: $(SUBDIRS) |