Files
harbour-core/harbour/config/os2/dir.cf
Przemyslaw Czerpak c68b5e22e3 2008-02-07 20:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/lib.cf
    * moved some definitions for easier detecting library build mode
  * harbour/config/os2/dir.cf
  * harbour/config/os2/global.cf
    * some modifications which should help for old GNU make OS2 ports
      and maybe also current ones
2008-02-07 19:17:55 +00:00

30 lines
517 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 = CMD.EXE /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