
2 changed files with 38 additions and 8 deletions
@ -1,15 +1,18 @@ |
|||||
HERE:=$(dir $(lastword $(MAKEFILE_LIST))) |
HERE:=$(dir $(lastword $(MAKEFILE_LIST))) |
||||
|
|
||||
# Defaults
|
# Constants
|
||||
|
BUILD_DIR = ./build |
||||
|
DIST_DIR = ./dist |
||||
|
|
||||
|
# Build config Defaults
|
||||
DEBUG=0 |
DEBUG=0 |
||||
PREFIX?=$(HOME) |
PREFIX?=$(HOME) |
||||
BUILD_DIR = ./build |
|
||||
|
|
||||
######### Overrides #########
|
######### Overrides #########
|
||||
-include $(HERE)local.conf |
-include $(HERE)local.conf |
||||
|
|
||||
ifeq ($(DEBUG),1) |
ifeq ($(DEBUG),1) |
||||
BUILD_EXT_OPTS+=--debug |
DEBUG_OPT+=--debug |
||||
endif |
endif |
||||
|
|
||||
BUILD_EXT_OPTS += --prefix=$(PREFIX) |
PREFIX_OPT += --prefix=$(PREFIX) |
Loading…
Reference in new issue