.PHONY: build test check format install clean help PREFIX ?= $(HOME)/.local build: gleam build test: gleam test check: gleam format --check format: gleam format install: build gleam run -m gleescript -- --out=$(PREFIX)/bin clean: rm -rf build help: @echo "Usage: make [target]" @echo "" @echo "Targets:" @echo " build Build the project" @echo " test Run tests" @echo " check Check formatting" @echo " format Format source files" @echo " install Install to PREFIX/bin (default: ~/.local/bin)" @echo " clean Remove build artifacts" @echo " help Show this help" @echo "" @echo "Variables:" @echo " PREFIX Installation prefix (default: ~/.local)"