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
461 B

  1. HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
  2. # Constants
  3. BUILD_DIR = ./build
  4. DIST_DIR = ./dist
  5. VERSION_FILE = ./src/pEp/__version__.py
  6. BUILD_INPLACE = ./src/pEp/_pEp.cpython-38-darwin.so
  7. PYTHON_ARTIFACTS += ./.eggs
  8. PYTHON_ARTIFACTS += ./src/pEp.egg-info
  9. # Build config Defaults
  10. DEBUG=0
  11. PREFIX=
  12. ######### Overrides #########
  13. -include $(HERE)local.conf
  14. ifeq ($(DEBUG),1)
  15. DEBUG_OPT+=--debug
  16. endif
  17. ifneq ($(PREFIX),)
  18. PREFIX_OPT += --prefix=$(PREFIX)
  19. endif