|
@@ -19,14 +19,7 @@ DEP_CXXFLAGS += $(DEP_FLAGS) |
|
|
WGET := wget -c |
|
|
WGET := wget -c |
|
|
UNTAR := tar xf |
|
|
UNTAR := tar xf |
|
|
UNZIP := unzip -o |
|
|
UNZIP := unzip -o |
|
|
CONFIGURE := ./configure --prefix="$(DEP_PATH)" |
|
|
|
|
|
ifdef ARCH_WIN |
|
|
|
|
|
CONFIGURE += --build=x86_64-w64-mingw32 |
|
|
|
|
|
else ifdef ARCH_MAC |
|
|
|
|
|
CONFIGURE += --build=x86_64-apple-darwin |
|
|
|
|
|
else ifdef ARCH_LIN |
|
|
|
|
|
CONFIGURE += --build=x86_64-unknown-linux-gnu |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
CONFIGURE := ./configure --prefix="$(DEP_PATH)" --host=$(MACHINE) |
|
|
|
|
|
|
|
|
ifdef ARCH_WIN |
|
|
ifdef ARCH_WIN |
|
|
CMAKE := cmake -G 'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX="$(DEP_PATH)" |
|
|
CMAKE := cmake -G 'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX="$(DEP_PATH)" |
|
|