* config/win/dir.cf
* config/wce/dir.cf
* config/win/mingw.cf
* config/wce/mingwarm.cf
* config/win/install.cf
* config/wce/install.cf
- Removed pre-NT compatibility.
* config/win/watcom.cf
% Don't echo script creation to reduce log clutter.
* config/os2/gcc.cf
* config/wce/mingwarm.cf
! Fixed C++ enabled macro name.
31 lines
513 B
CFEngine3
31 lines
513 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
ifeq ($(PM),) # Only traverse directories if not compiling a specific module
|
|
|
|
ifeq ($(SHLVL),) # NT Shell
|
|
|
|
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
|
|
|
|
else # bash
|
|
|
|
DIR_RULE =\
|
|
@for d in $(DIRS); do \
|
|
if [ -d $$d ]; then \
|
|
$(MAKE) -C $$d $@; \
|
|
fi \
|
|
done
|
|
|
|
endif # ! Windows
|
|
|
|
endif # ! compiling a specific program module
|