Prerequisites

# Install toolchain
apt-get install build-essential genromfs mkisofs

# Set up KOS (see KOS documentation)
export KOS_BASE=/path/to/kos
export PATH="$KOS_BASE/../sh4elf/bin:$PATH"

Build

# Clone repository
git clone ssh://git@100.120.38.37:2223/from-admin/d3-tui.git
cd D3-TUI

# Build release
make release

# Or build debug
make debug

# Run tests
cd src && make test  # or: make run-tests