dirs.mk: Add (half understood but working) support for empty SUBDIRS variable

This commit is contained in:
Jan Lindemann 2001-10-29 17:10:45 +00:00 committed by Jan Lindemann
commit 1b365f0ebd

View file

@ -6,11 +6,24 @@
include $(MODDIR)/make/defs.mk
subdirs:
ifdef SUBDIRS
else
$(make_subdirs)
endif
clean:
ifdef SUBDIRS
else
rm -rf $(TEXTCLEAN) $(CLEAN)
$(make_subdirs_target)
endif
.DEFAULT:
ifdef SUBDIRS
else
$(make_subdirs_target)
endif
ifdef SUBDIRS
install:
endif