README.txt 567 B

1234567891011121314151617
  1. This example demonstrates the creation of a particular build tool which compiles
  2. specific files directly, for example:
  3. main.c includes foo.h
  4. foo.h has a corresponding foo.c file
  5. foo.c includes bar.h
  6. bar.h has a corresponding bar.c file
  7. Calling './dbd build' will then compile and link 'main.c', 'foo.c' and 'bar.c' into the program 'app'.
  8. No script file is required, although the build will create a .lock file and a c4che directory.
  9. To create the build tool:
  10. ./create_it.sh
  11. To use on the file bbit which creates a program out of main.c:
  12. ./cbd clean build