From 3577710423ecf477b0c71b86f21790350c9cf4ea Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 5 May 2026 22:04:07 -0500 Subject: [PATCH] Add Ox subtree commands to Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index aee73947..c0e0813d 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,19 @@ else endif PROJECT_PLAYER=./build/${BC_VAR_CURRENT_BUILD}/bin/${BC_VAR_PROJECT_NAME_CAP} +.PHONY: git-setup-ox-remote +git-setup-ox-remote: + git remote add -f ox-master git@git.drinkingtea.net:drinkingtea/ox.git + +.PHONY: git-pull-ox +git-pull-ox: + git fetch ox-master master + git subtree pull --prefix deps/ox ox-master master --squash + +.PHONY: git-push-ox +git-push-ox: + git subtree push --prefix=deps/ox ox-master master + .PHONY: pkg-gba pkg-gba: build-pack build-gba-player ${BC_CMD_ENVRUN} ${BC_PY3} ./util/scripts/pkg-gba.py sample_project ${BC_VAR_PROJECT_NAME_CAP}