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