Files
mcbladerf/Makefile
T
rsp2k c767166984 Restore mcbladerf from 2026-02-08 working copy
Recovered from editor file-history snapshots; the original directory
was never committed and has since been removed.
2026-10-24 20:33:27 -06:00

21 lines
638 B
Makefile

.PHONY: setup run test clean
# SoapySDR requires system Python with its bindings installed
# This creates a venv with access to system site-packages
setup:
@echo "Creating venv with system site-packages (required for SoapySDR)..."
uv venv --system-site-packages --python 3.14
@echo "Installing dependencies..."
uv pip install -e .
@echo ""
@echo "Setup complete! Run with: uv run mcbladerf"
run:
uv run mcbladerf
test:
uv run python -c "import SoapySDR; print('SoapySDR OK'); from mcbladerf import device; print(f'Devices: {len(device.list_devices())}')"
clean:
rm -rf .venv __pycache__ src/mcbladerf/__pycache__ .ruff_cache