Files
harbour-core/harbour/config/os2/dir.cf
Maurilio Longo 32cf59595f 2009-02-06 10:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* config/os2/dir.cf
    * use $(COMSPEC) instead of calling cmd.exe directly
  * config/os2/gcc.cf
    * rewrote create_library rule to work with make -jn without
      breaking shell environment/command line size.
  * source/rtl/hbproces.c
    * included sys/waith.h in OS/2 build. I think that initial
      #defines can be simplified a bit.
  * config/os2/install.cf
    * rewrote install_rule to work with make -jn without
      breaking shell environment/command line size.
  * config/lib.cf
    * removed unnecessary double quotes around TOP definition
2009-02-06 09:55:04 +00:00

30 lines
520 B
CFEngine3

#
# $Id$
#
ifeq ($(PM),) # Only traverse directories if not compiling a specific module
ifeq ($(SHLVL),) # An OS/2 command shell
ifeq ($(DIRS),) # Empty directory list
DIR_RULE =\
@echo Done
else
DIR_MAKE = $(subst /,\,$(MK))
DIR_LIST = $(subst /,\,$(DIRS))
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