* 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
30 lines
517 B
CFEngine3
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
|