# Creates a dependency from the tests to the object files which it needs.
# Creates a dependency from the tests to the object files which it needs.
inter-depends:$(ALL_DEPENDS) Makefile
inter-depends:$(ALL_DEPENDS) Makefile
@for f in$(ALL_DEPENDS);do echo check-$$(basename$$(dirname$$f)): $$(for dir in$$(cat$$f)$$(dirname$$f);do["$$(echo $$dir/[a-z]*.c)"="$$dir/[a-z]*.c"]||echo ccan/"$$(basename$$dir)".o;done);done>$@
@for f in$(ALL_DEPENDS);do echo check-$$(basename$$(dirname$$f)): $$(for dir in$$(cat$$f)$$(dirname$$f);do["$$(echo $$dir/*.c)"="$$dir/*.c"]||echo ccan/"$$(basename$$dir)".o;done);done>$@
# Creates dependencies between tests, so if foo depends on bar, bar is tested
# Creates dependencies between tests, so if foo depends on bar, bar is tested
@@ -16,7 +16,7 @@ Got C code sitting around which might help someone? Put it to work
...
@@ -16,7 +16,7 @@ Got C code sitting around which might help someone? Put it to work
by uploading here; .tar.gz, .zip or even single C files.
by uploading here; .tar.gz, .zip or even single C files.
</p>
</p>
<p>If it has a valid _info.c file and a testsuite (see <ahref="http://ccan.ozlabs.org/Wiki/ModuleGuide">the module creation guide</a>), it'll go into the
<p>If it has a valid _info file and a testsuite (see <ahref="http://ccan.ozlabs.org/Wiki/ModuleGuide">the module creation guide</a>), it'll go into the
main repository. Otherwise, it'll go into our "junkcode" area where
main repository. Otherwise, it'll go into our "junkcode" area where