diff --git a/Makefile b/Makefile index 24c251d..88dab8d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PREFIX = /home/heck/local-default/ -DEBUG = 0 +DEBUG = 1 BUILD_DIR = ./build BUILD_EXT_OPTS = --prefix=$(PREFIX) @@ -8,7 +8,7 @@ ifeq ($(DEBUG),1) BUILD_EXT_OPTS+=--debug endif -.PHONY: all build clean +.PHONY: all build clean devenv envtest all: build_ext @@ -16,4 +16,13 @@ build_ext: python3 setup.py build_ext $(BUILD_EXT_OPTS) clean: - rm -r $(BUILD_DIR) \ No newline at end of file + rm -r $(BUILD_DIR) + +devenv: + LD_LIBRARY_PATH=$(PREFIX)/lib \ + PYTHONPATH=`pwd`/build/lib.linux-x86_64-3.7:\ + `pwd`/src \ + bash -l + +envtest: + python3 -c 'import pEp' \ No newline at end of file