Splut the submodules in two parts

This commit is contained in:
Arnaud 2025-10-09 08:09:47 +02:00
parent 1f4cd9c152
commit 0c97cf3e37
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -6,9 +6,11 @@ NIM_CODEX_DIR := vendor/nim-codex
all: build all: build
update: submodules:
@echo "Fetching submodules..." @echo "Fetching submodules..."
@git submodule update --init --recursive @git submodule update --init --recursive
update: | submodules
@echo "Updating nim-codex..." @echo "Updating nim-codex..."
@$(MAKE) -C $(NIM_CODEX_DIR) update @$(MAKE) -C $(NIM_CODEX_DIR) update
@ -18,7 +20,7 @@ libcodex:
build: build:
@echo "Building Codex Go Bindings..." @echo "Building Codex Go Bindings..."
go build -o codex-go examples/golang/codex.go go build -o codex-go codex
clean: clean:
@echo "Cleaning up..." @echo "Cleaning up..."