danny wang a136536ff5 watchrobot first commit 2 年之前
..
README.txt a136536ff5 watchrobot first commit 2 年之前
bar.c a136536ff5 watchrobot first commit 2 年之前
bar.h a136536ff5 watchrobot first commit 2 年之前
create_it.sh a136536ff5 watchrobot first commit 2 年之前
dbdlib.py a136536ff5 watchrobot first commit 2 年之前
foo.c a136536ff5 watchrobot first commit 2 年之前
foo.h a136536ff5 watchrobot first commit 2 年之前
main.c a136536ff5 watchrobot first commit 2 年之前

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