diff options
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 ############################################################################## |