Add Makefile.conf / local.conf.example (like we have it in pEpEngine, libpEpAdapter, pEpJNIAdapter)

PYADPT-81
heck 2 years ago
parent 47a0fb5cc1
commit 57cec46a75

@ -1,12 +1,4 @@
PREFIX = /home/heck/local-default/
DEBUG = 1
BUILD_DIR = ./build
BUILD_EXT_OPTS = --prefix=$(PREFIX)
ifeq ($(DEBUG),1)
BUILD_EXT_OPTS+=--debug
endif
include Makefile.conf
.PHONY: all build clean devenv envtest

@ -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…
Cancel
Save