dirs.mk: Add default for SUBDIRS: $(FIND_SUBDIRS)

- Conditionally default SUBDIRS to $(FIND_SUBDIRS)
  - Change condition for dummy targets from ifndef SUBDIRS to
    ifeq ($(SUBDIRS),) to be able to do that
This commit is contained in:
Jan Lindemann 2009-06-02 12:46:17 +00:00 committed by Jan Lindemann
commit 711c42ea0a

View file

@ -7,7 +7,9 @@
include $(MODDIR)/make/defs.mk
ifndef SUBDIRS
SUBDIRS ?= $(FIND_SUBDIRS)
ifeq ($(SUBDIRS),)
all:
subdirs:
clean distclean:
@ -21,8 +23,8 @@ install:
$(make_subdirs_target)
clean:
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
$(make_subdirs_target)
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
distclean: rmdistclean clean
rmdistclean: