From af00e2f94b0b78c3f410c77ddc64b0477eaf936b Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Mon, 5 Apr 2021 15:08:17 -0700 Subject: [PATCH] start of makefile, targets to maintain strobe.. --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..03ff825 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +ARMCC = arm-none-eabi-gcc + +STROBE_REPO = https://git.code.sf.net/p/strobe/code +STROBE_BRANCH = master + +.PHONY: init-strobe +init-strobe: + git subtree add -P strobe --squash $(STROBE_REPO) $(STROBE_BRANCH) + +.PHONY: update-strobe +update-strobe: + git subtree pull -P strobe --squash $(STROBE_REPO) $(STROBE_BRANCH)