/nobber/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/nobber/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Stream
  • Date: 2025-10-12 11:28:49 UTC
  • Revision ID: streamer@octo-20251012112849-j2k79pwgj36ersoy
* Added README
* Restructured nob.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.