Shallow clone of registry repositories

This commit is contained in:
Kerby Geffrard 2023-10-06 11:42:22 -04:00 committed by Nigel Stewart
parent c2f7ab7f09
commit c43940a927

View File

@ -92,15 +92,15 @@ OpenGL-Registry/.dummy:
@echo "--------------------------------------------------------------------" @echo "--------------------------------------------------------------------"
@echo "Downloading OpenGL-Registry" @echo "Downloading OpenGL-Registry"
@echo "--------------------------------------------------------------------" @echo "--------------------------------------------------------------------"
git clone $(REPO_OPENGL) OpenGL-Registry git clone --depth=1 $(REPO_OPENGL) OpenGL-Registry
git clone --branch glew $(REPO_GLFIXES) glfixes git clone --depth=1 --branch glew $(REPO_GLFIXES) glfixes
touch $@ touch $@
EGL-Registry/.dummy: EGL-Registry/.dummy:
@echo "--------------------------------------------------------------------" @echo "--------------------------------------------------------------------"
@echo "Downloading EGL-Registry" @echo "Downloading EGL-Registry"
@echo "--------------------------------------------------------------------" @echo "--------------------------------------------------------------------"
git clone $(REPO_EGL) EGL-Registry git clone --depth=1 $(REPO_EGL) EGL-Registry
touch $@ touch $@
$(EXT)/.dummy: OpenGL-Registry/.dummy EGL-Registry/.dummy $(EXT)/.dummy: OpenGL-Registry/.dummy EGL-Registry/.dummy