Commit 77da32fb authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: use quotes on paths

parent fd4706f5
......@@ -44,7 +44,7 @@ all: obiatools.$(PYTHON_LD_EXT)
obiatools.$(PYTHON_LD_EXT): $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: MinGW C++ Linker'
g++ -o"obiatools.$(PYTHON_LD_EXT)" $(OBJS) $(USER_OBJS) $(LIBS) -L$(PYTHON_LIB_PATH) $(PYTHON_CPY_LINKERFLAGS) -l$(PYTHON_LIB) -shared
g++ -o"obiatools.$(PYTHON_LD_EXT)" $(OBJS) $(USER_OBJS) $(LIBS) -L"$(PYTHON_LIB_PATH)" $(PYTHON_CPY_LINKERFLAGS) -l$(PYTHON_LIB) -shared
@echo 'Finished building target: $@'
@echo ' '
$(MAKE) --no-print-directory post-build
......
......@@ -35,7 +35,7 @@ CPP_DEPS += \
src/%.o: ../src/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: GCC C++ Compiler'
g++ -DMS_WIN64 -I$(PYTHON_INCLUDE) -I$(NUMPY_INCLUDE) -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
g++ -DMS_WIN64 -I"$(PYTHON_INCLUDE)" -I"$(NUMPY_INCLUDE)" -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
@echo 'Finished building: $<'
@echo ' '
......
......@@ -7,7 +7,7 @@
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <Python.h>
#include "Python.h"
#if PY_MAJOR_VERSION >= 3
#define PY3K
#endif
......@@ -192,4 +192,4 @@ PyMODINIT_FUNC initobiatools(void) {
import_array();
}
#endif
\ No newline at end of file
#endif
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