danny wang 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
..
README.txt 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
bar.c 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
bar.h 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
create_it.sh 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
dbdlib.py 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
foo.c 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
foo.h 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago
main.c 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 years ago

README.txt

This example demonstrates the creation of a particular build tool which compiles
specific files directly, for example:

main.c includes foo.h
foo.h has a corresponding foo.c file
foo.c includes bar.h
bar.h has a corresponding bar.c file

Calling './dbd build' will then compile and link 'main.c', 'foo.c' and 'bar.c' into the program 'app'.
No script file is required, although the build will create a .lock file and a c4che directory.

To create the build tool:
./create_it.sh

To use on the file bbit which creates a program out of main.c:
./cbd clean build