PYTHON ?= python3 INSTANCE ?= default EXTRA ?= ADDRESS ?= $(or $(LINK),$(SSH_TARGET)) SSH_KEY ?= .PHONY: shell n810 test check native dist fcc-data setup shell n810: $(PYTHON) shell/launch.py --instance "$(INSTANCE)" $(if $(strip $(ADDRESS)),--connection-address "$(ADDRESS)") $(if $(strip $(SSH_KEY)),--connection-key "$(SSH_KEY)") $(EXTRA) test: $(PYTHON) -B -m unittest discover -s tests -v check: test native: $(PYTHON) tools/build_native.py dist: $(PYTHON) tools/release.py # Explicit preparation; starting Pocket never downloads a database. fcc-data: PYTHONPATH=shell $(PYTHON) -m fcc_download $(FCC_ARGS) setup: $(PYTHON) shell/launch.py --instance "$(INSTANCE)" --setup $(EXTRA) # Independent pixel frontend. Terminal launch is unchanged. .PHONY: tui gui graphics-native graphics-check tui: shell graphics-native: $(PYTHON) graphics/build.py graphics-check: graphics-native $(PYTHON) graphics/check.py $(EXTRA) gui: $(PYTHON) graphics/gui.py $(EXTRA) # Area-selected map acquisition and local derived levels. include maps.mk # Explicit optional game preparation; app opening never downloads data. .PHONY: doom doom: $(PYTHON) shell/apps/doom-app/build.py $(EXTRA) # N810 managed graphics session; APP=chess or APP=snakes. APP ?= chess .PHONY: symbian symbian: $(PYTHON) shell/symbian_launch.py "$(APP)" .PHONY: symbian-install symbian-install: $(PYTHON) shell/symbian_install.py "$(PACKAGE)"