Code / Makefile

Makefile 36 lines
# =============================================================================
#  Project   : localvm-research
#  File      : Makefile
#  Purpose   : Top-level tasks: setup, lint, test, bench, headers
#  Author    : Simon-Pierre Boucher
#  Contact   : contact@spboucher.ai
#  Created   : 2026-08-11
#  Modified  : 2026-08-11
#  Platform  : macOS / Apple Silicon (arm64)
#  License   : All rights reserved (research code)
# =============================================================================

PYTHON ?= python3

.PHONY: setup lint test bench headers manifest

setup:
	$(PYTHON) -m venv .venv
	.venv/bin/pip install -e ".[dev,ml]"

lint:
	.venv/bin/ruff check src tools benchmarks experiments
	.venv/bin/ruff format --check src tools benchmarks experiments

test:
	.venv/bin/pytest -q

headers:
	$(PYTHON) tools/check_headers.py

manifest:
	$(PYTHON) benchmarks/hardware_manifest.py

bench:
	@echo "benchmarks/harness.py not yet implemented (Phase 5)"; exit 1