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.

15 lines
244 B

  1. HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
  2. # Defaults
  3. DEBUG=0
  4. PREFIX?=$(HOME)
  5. BUILD_DIR = ./build
  6. ######### Overrides #########
  7. -include $(HERE)local.conf
  8. ifeq ($(DEBUG),1)
  9. BUILD_EXT_OPTS+=--debug
  10. endif
  11. BUILD_EXT_OPTS += --prefix=$(PREFIX)