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
Depfile
in the project's root, for example:dep 'uthash'
depy list
or depy search <term>
(ie. depy search hash
)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!