One easy way to build additional non-amalgamated extensions is to append the source at the end of the amalgamation. As far as I recall at least. Keith or someone else will chime-in soon when the US wakes up. Otherwise (re)read [](https://www.sqlite.org/loadext.html) perhaps? There's also [](https://stackoverflow.com/questions/30898113/how-to-compile-an-extension-into-sqlite)