You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
513 B
26 lines
513 B
HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
|
|
|
|
# Constants
|
|
BUILD_DIR = ./build
|
|
DIST_DIR = ./dist
|
|
VERSION_FILE = ./src/pEp/__version__.py
|
|
BUILD_INPLACE = ./src/pEp/_pEp.cpython-38-darwin.so
|
|
PYTHON_ARTIFACTS += ./.eggs
|
|
PYTHON_ARTIFACTS += ./src/pEp.egg-info
|
|
PYTHON_ARTIFACTS += ./.pytest_cache
|
|
VENV_DIR = ./venv
|
|
|
|
# Build config Defaults
|
|
DEBUG=0
|
|
PREFIX=
|
|
|
|
######### Overrides #########
|
|
-include $(HERE)local.conf
|
|
|
|
ifeq ($(DEBUG),1)
|
|
DEBUG_OPT+=--debug
|
|
endif
|
|
|
|
ifneq ($(PREFIX),)
|
|
PREFIX_OPT += --prefix=$(PREFIX)
|
|
endif
|
|
|