waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

README.txt (567B)


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