Is there an API to download platform specific headers and sources?
I ask only because it would be such a handy tool. GLAD is a platform specific dependency, so imagine if I add it to my cross-platform application. GLAD wont work unless each user of the application is running the same platform as I am. That isn't very convenient. Also, to the extent of my knowledge, the website that generates the the GLAD zip file does allow you to choose which platform you'd like to download GLAD for. That means that whoever wants to use my application will have to download GLAD for themselves and then build my app. Now, Imagine the said scenario, but with an API that I can tap into with wget, curl, or some other command  that I can modify the URL to target a specific platform. Now, I can just place this in my Makefile with a couple `ifeq (<platform>)`s and the only thing my users would have to do is build the application with `make`. Simple.

But, if such functionality isn't available, am I missing something? Is there an alternative to achieve the results I'd like that I'm not aware of?