Commit 75bc6d62 by devttys0

Added Makefile changes from issue #52

parent a86e787d
...@@ -18,12 +18,13 @@ all: build ...@@ -18,12 +18,13 @@ all: build
install: build install: build
if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR) install; fi if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR) install; fi
ifeq ($(strip $(prefix)),)
$(PYTHON) ./setup.py install $(PYTHON) ./setup.py install
else
$(PYTHON) ./setup.py install --prefix=$(prefix)
endif
if [ "$(BUILD_C_LIBS)" -eq "1" ] && [ $(findstring "CYGWIN", $(PLATFORM)) ]; then ldconfig || true; fi if [ "$(BUILD_C_LIBS)" -eq "1" ] && [ $(findstring "CYGWIN", $(PLATFORM)) ]; then ldconfig || true; fi
deps:
./deps.sh
build: build:
if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR); fi if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR); fi
$(PYTHON) ./setup.py build $(PYTHON) ./setup.py build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment