<li> Put modules into a ccan/ subdirectory into your project. Add a "config.h" (like
<ahref="example-config.h">this example</a>) and compile every .c file
<ahref="example-config.h">this example</a>, or generate one using <ahref="http://git.ozlabs.org/?p=ccan;a=blob_plain;f=tools/configurator/configurator.c">the configurator</a>) and compile every .c file
in ccan/* (as in this <ahref="Makefile-ccan">Makefile</a>)).
<li> Alternatively, just hack whatever parts you want so it compiles in