# SPDX-FileCopyrightText: Amolith # # SPDX-License-Identifier: CC0-1.0 .PHONY: build test check format install clean help reuse 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 reuse: reuse lint 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 " reuse Run REUSE lint" @echo " help Show this help" @echo "" @echo "Variables:" @echo " PREFIX Installation prefix (default: ~/.local)"