summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-19 18:33:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-19 18:33:32 +0100
commit98e07066854de558bb5651b7305d2da527048d0b (patch)
tree38a598508fbf7d525de0c8ab7454081042af347c /Makefile
parent25631be7315cdddc0cf2ea273f3e06332128d36d (diff)
parent0102d12701a8634300c4b174e5bbeb898218ba18 (diff)
Merge branch 'master' of openadk.org:/git/openadk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 095336f08..6a5609fd2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,18 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-CC= gcc
+CC?= gcc
GMAKE?= $(PWD)/scripts/make
GMAKE_FMK= ${GMAKE} -f $(PWD)/mk/build.mk
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:'