Skip to content

fix: honor $GODOT environment variable in Makefile#1

Merged
cahaseler merged 1 commit intoSpaceMolt:mainfrom
rsned:fix/makefile-godot-env
Apr 12, 2026
Merged

fix: honor $GODOT environment variable in Makefile#1
cahaseler merged 1 commit intoSpaceMolt:mainfrom
rsned:fix/makefile-godot-env

Conversation

@rsned
Copy link
Copy Markdown
Contributor

@rsned rsned commented Apr 11, 2026

Summary

  • Changed GODOT := to GODOT ?= so the Makefile respects the $GODOT environment variable
  • Auto-detection of the Godot binary still works as a fallback when $GODOT is not set

Test plan

  • GODOT=/path/to/godot make run uses the specified binary
  • make run without $GODOT set still auto-detects correctly

🤖 Generated with Claude Code

The Makefile used := which unconditionally overwrites GODOT,
ignoring any value set via the environment. Switch to ?= so
the auto-detection only runs as a fallback.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cahaseler cahaseler merged commit 11d5890 into SpaceMolt:main Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants