Commit Graph
7 Commits
Author SHA1 Message Date
George HahnandGitHub a4fc6204ce Parallelize alternate fw builds (#66) 2022-05-29 22:30:02 -04:00
George Hahn c40d75b876 Make submodule and directory rules order-only prerequisites on objects
This instructs make to run the tinyusb and directory rules before
building any objects. Docs: [1].

After this change, `make clean` started running
the tinyusb submodule rule before cleaning. This appears to have been
caused by one of the `build/*.d` files overlapping with the `tinyusb`
name, triggering that rule. I didn't trace this all the way down to a
root cause, but switching the include to something less broad solved the
issue. Roughly guided by [2].

1: https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html

2: http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
2022-05-19 00:33:31 -06:00
George HahnandGitHub 1f6f11eb60 Add Devcontainer as an easy dev environment option (#65) 2022-05-18 11:17:51 -04:00
George Hahn 190dca0a77 fixup: restore deleted line 2022-05-10 00:42:43 -06:00
George Hahn 0ab63691f2 Move parallel flag into makefile with crossplatform support 2022-05-10 00:37:37 -06:00
George Hahn 0269681ac3 Perform OS detection in makefile 2022-05-10 00:37:02 -06:00
George Hahn 9d8ef5c2e8 Parallelize builds 2022-05-10 00:16:20 -06:00