A simple (silly) dependency manager for C! (Super alpha / exploratory version!)
(The goal is to have depy written in shell to remove the ruby dependency, but until then...)
gem install depy
- start from a boilerplate.c project.
- create a
Depfilein the project's root, for example:
dep 'uthash'
- for other supported dependencies, use
depy listordepy search <term>(ie.depy search hash) - run
depy install
At this point, depy will download all the dependencies' sources into ./deps
add the appropriate make targets to the ./deps/Makefile, and update
the -I, -L, -l CFLAGS inside of ./Makefile.
With a simple #include <uthash.h>, you should be ready to make and
use the dependency!
- support specifying version (git tag) / gitref
- obviously support dependencies that aren't hosted on Github!
- support dynamic linking
- allow "recipes" to support other build systems than make (cmake, etc.)
- if necessary, not depend on github to host the dependency "recipes"