19 lines
407 B
CFEngine3
19 lines
407 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
include $(TOP)$(ROOT)config/$(HB_ARCHITECTURE)/global.cf
|
|
|
|
ifeq ($(PM),) # Only traverse directories if not compiling a specific module
|
|
|
|
ifeq ($(DIRS),) # Empty directory list
|
|
DIR_RULE =\
|
|
@echo Done
|
|
else
|
|
DIR_LIST := $(subst /,\,$(DIRS))
|
|
DIR_MAKE := $(subst /,\,$(MK))
|
|
DIR_RULE =\
|
|
$(COMSPEC) /C FOR %d IN ($(DIR_LIST)) DO $(DIR_MAKE) -C %d $@
|
|
endif
|
|
|
|
endif # ! compiling a specific program module |