bzr branch
http://gegoxaren.bato24.eu/bzr/nobber/trunk
|
2
by Stream
* Added README |
1 |
Nobber - Primative Build system built ontop of nob.h. |
2 |
||
3 |
The listing of the files to be compiled is locaded in nob.c; |
|
4 |
look for the array "const char * src_files[] {...}" and add the corret files there. |
|
5 |
||
6 |
If you need to change the build flages change them in "const char default_build_flags[] {...}", and |
|
7 |
same goes for linking flags in "const char * default_linking_flags[] {...}" |
|
8 |
||
9 |
||
10 |
When needing to compile, you run |
|
11 |
$ cc -o nob nob.c |
|
12 |
$ ./nob |
|
13 |
||
14 |
This will make build the files listed in the "src_files" array, and link them. |
|
15 |
||
16 |
TODO: |
|
17 |
[ ] - put the resulting object files in a build directory. |
|
18 |
[ ] - Chaching of object files, so they don't get re-built unnessesarely. |