updated makefiles and added dependency installation for ODIN
CI / Detect changed paths (pull_request) Failing after 1s
CI / Infra unit tests, vet, and preview (pull_request) Has been skipped
CI / Odin unit tests and build (pull_request) Has been skipped
CI / API unit tests and lint (pull_request) Has been skipped

This commit was merged in pull request #3.
This commit is contained in:
2026-09-02 11:37:29 -06:00
parent 920fcd6a1a
commit 9e6cb03b8a
5 changed files with 186 additions and 9 deletions
+10 -1
View File
@@ -14,12 +14,21 @@ BINARY := $(BIN)/desi_explorer
ODIN_FLAGS := -collection:lib=lib/local
WASM_DEFINE := RAYLIB_WASM_LIB=env.o
.PHONY: help run build build-debug build-web test clean fmt
.PHONY: help setup add-dep run build build-debug build-web test clean fmt
help: ## List available targets
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-18s\033[0m %s\n", $$1, $$2}'
setup: ## Prepare build environment (lib/local)
@mkdir -p lib/local
add-dep: ## Add a dependency from Codeberg/GitHub/GitLab as a submodule (DEP=name)
ifndef DEP
$(error Usage: make add-dep DEP=<dependency-name>)
endif
@scripts/add_dep.sh "$(DEP)"
run: ## Run the native app
@mkdir -p lib/local
$(ODIN) run src $(ODIN_FLAGS)