p≡p for Python
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.
 
 
 

18 lines
278 B

HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
# Constants
BUILD_DIR = ./build
DIST_DIR = ./dist
# Build config Defaults
DEBUG=0
PREFIX?=$(HOME)
######### Overrides #########
-include $(HERE)local.conf
ifeq ($(DEBUG),1)
DEBUG_OPT+=--debug
endif
PREFIX_OPT += --prefix=$(PREFIX)