use ninja-tokenpool
link is broken. i have merged the code in
https://github.com/milahu/gnumake-tokenpool/tree/main/cc