summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-19 17:08:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-19 17:08:09 +0100
commit44136f93896505f2f0b367ae9bd1422350192419 (patch)
tree17dee5ba51e83dc27735d6da07e99064913499dd /Makefile
parent512519037afdd5376ddc95aa61b5bfbcb4b0adaf (diff)
finetune ulimit setting, fix problem on CygWin
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 09c109fac..6a5609fd2 100644
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,15 @@
CC?= gcc
GMAKE?= $(PWD)/scripts/make
GMAKE_FMK= ${GMAKE} -f $(PWD)/mk/build.mk
-GMAKE_INV= ulimit -dS $$(ulimit -dH); ${GMAKE_FMK} --no-print-directory
+GMAKE_INV= ${GMAKE_FMK} --no-print-directory
+_UNLIMIT= ulimit -dS $$(ulimit -dH);
all: .prereq_done
- @${GMAKE_INV} all
+ @${_UNLIMIT} ${GMAKE_INV} all
v: .prereq_done
@(echo; echo "Build started on $$(LC_ALL=C LANGUAGE=C date)"; \
- set -x; ${GMAKE_FMK} VERBOSE=1 all) 2>&1 | tee -a make.log
+ set -x; ${_UNLIMIT} ${GMAKE_FMK} VERBOSE=1 all) 2>&1 | tee -a make.log
help:
@echo 'Common targets:'