diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-24 16:10:26 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-24 16:10:26 +0000 |
commit | bd115096e4b84db11bd93d87c89a6d0099d48401 (patch) | |
tree | 6ba0038197cbec80e601bd349970fe004736ecc5 /makefiles/Makefile.top | |
parent | cce6937cde149f86ae0c94bb56e203cc998b310c (diff) | |
download | buildsystem-bd115096e4b84db11bd93d87c89a6d0099d48401.tar.gz buildsystem-bd115096e4b84db11bd93d87c89a6d0099d48401.tar.bz2 |
A makefile to setup the toolchain
svn path=/trunk/tools/buildsystem/; revision=6843
Diffstat (limited to 'makefiles/Makefile.top')
-rw-r--r-- | makefiles/Makefile.top | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top index 71a57e1..19c4d3a 100644 --- a/makefiles/Makefile.top +++ b/makefiles/Makefile.top @@ -4,7 +4,7 @@ # # BUILD Type of build to perform: # release - Release build -# debug - Debug build (default) +# debug - Debug build # COMPONENT Name of the component (sans leading "lib" iff a library) # COMPONENT_TYPE Type of component: # binary - Executable binary @@ -68,40 +68,12 @@ ifeq ($(TARGET),) $(error TARGET not defined) endif -# Default build type +# Build type, too ifeq ($(BUILD),) - BUILD := debug + $(error BUILD not defined) endif ############################################################################## -# Tool defaults -############################################################################## - -ifeq ($(BUILD),release) - CFLAGS ?= -O2 -else - CFLAGS ?= -g -O0 - LDFLAGS ?= -g -endif - -ECHO ?= echo - -GENHTML ?= genhtml - -INSTALL ?= install - -LCOV ?= lcov - -MKDIR ?= mkdir -MKDIRFLAGS ?= -p - -PKGCONFIG ?= pkg-config - -SED ?= sed - -TOUCH ?= touch - -############################################################################## # Makefile variables ############################################################################## |