
3 changed files with 27 additions and 9 deletions
@ -0,0 +1,15 @@ |
|||
HERE:=$(dir $(lastword $(MAKEFILE_LIST))) |
|||
|
|||
# Defaults
|
|||
DEBUG=1 |
|||
PREFIX?=$(HOME) |
|||
BUILD_DIR = ./build |
|||
|
|||
######### Overrides #########
|
|||
-include $(HERE)local.conf |
|||
|
|||
ifeq ($(DEBUG),1) |
|||
BUILD_EXT_OPTS+=--debug |
|||
endif |
|||
|
|||
BUILD_EXT_OPTS += --prefix=$(PREFIX) |
@ -0,0 +1,11 @@ |
|||
# This is an Example build config file (local.conf) |
|||
# you might not need this file, but if the defaults dont work for you |
|||
# You can override them here. |
|||
# Tweak the values to your needs and rename it to local.conf |
|||
|
|||
######### C++ Compiler ######### |
|||
# DEBUG=1 |
|||
# DEBUG=0 |
|||
|
|||
############# DIRS ############# |
|||
# PREFIX=$(HOME)/local |
Loading…
Reference in new issue