Blob Blame History Raw
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Mon, 24 May 2021 16:37:41 +0300
Subject: [PATCH] Don't handle external dependencies

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

diff --git a/Makefile b/Makefile
index dbcd12c2..745705da 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,6 @@ ifneq (,$(findstring non_existing, $(CL_PATH)))
 DEPS=cl
 endif
 
-DEPS += libigl eigen
 SUBDIRS=c_src intl_tools src e3d plugins_src icons
 
 #
@@ -100,40 +99,3 @@ src: intl_tools e3d
 plugins_src: intl_tools src
 icons: e3d plugins_src
 lang: opt
-
-#
-#  External Dependencies
-#
-
-CL_REPO = https://github.com/tonyrog/cl.git
-IGL_REPO = https://github.com/dgud/libigl.git
-EIGEN_REPO = https://github.com/eigenteam/eigen-git-mirror.git
-
-CL_VER=cl-1.2.4
-IGL_VER=master
-EIGEN_VER=3.3.7
-# see libigl/cmake/LibiglDownloadExternal.cmake for eigen version
-
-GIT_FLAGS = -c advice.detachedHead=false clone --depth 1
-
-.PHONY: cl igl eigen
-
-# cl (erl wrapper library) not in path try to download and build it
-cl: _deps/cl
-	@(cd _deps/cl; rebar3 compile > ../build_log 2>&1 && rm ../build_log) \
-	  || echo ***Warning*** OpenCL not useable >> _deps/build_log
-
-_deps/cl:
-	git $(GIT_FLAGS) -b $(CL_VER) $(CL_REPO) _deps/cl
-
-# libigl have many useful function
-libigl: _deps/libigl
-
-_deps/libigl:
-	git $(GIT_FLAGS) -b $(IGL_VER) $(IGL_REPO) _deps/libigl
-
-# eigen needed by libigl
-eigen: _deps/eigen
-
-_deps/eigen:
-	git $(GIT_FLAGS) -b $(EIGEN_VER) $(EIGEN_REPO) _deps/eigen