config.mk revision 77ed6142daed1e068fbda64405d0de9845e40e1a
1###
2# Configuration variables.
3
4OS := $(shell uname)
5
6# Assume make is always run from top-level of source directory. Note than an
7# Apple style build overrides these variables later in the makefile.
8ProjSrcRoot := $(shell pwd)
9ProjObjRoot := $(ProjSrcRoot)
10
11###
12# Tool configuration variables.
13
14# FIXME: LLVM uses autoconf/mkinstalldirs ?
15MKDIR := mkdir -p
16DATE := date
17LIPO := lipo
18CP := cp
19
20VERBOSE := 0
21DEBUGMAKE :=
22
23###
24# Automatic and derived variables.
25
26# Adjust settings for verbose mode
27ifneq ($(VERBOSE),1)
28  Verb := @
29else
30  Verb :=
31endif
32
33Echo := @echo
34ifndef Summary
35  Summary = $(Echo)
36endif
37