root := ../../../.. include $(root)/build/config.make dirs := ifeq ($(XSDE_IOSTREAM),y) ifeq ($(XSDE_EXCEPTIONS),y) ifeq ($(XSDE_STL),y) dirs += custom endif ifeq ($(XSDE_CDR),y) dirs += cdr endif ifeq ($(XSDE_XDR),y) dirs += xdr endif endif endif .PHONY: all $(dirs) all: $(dirs) $(dirs): @$(MAKE) -C $@ $(MAKECMDGOALS) makefile: ; %.make:: ; %:: $(dirs) ;