Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smintfy/nobu

Yet another NOT a build system
https://github.com/smintfy/nobu

Last synced: about 1 month ago
JSON representation

Yet another NOT a build system

Awesome Lists containing this project

README

        

# nobu

Yet another *__NOT__* a build system for C. Windows are currently not supported.


_ _ _ 

| \ | | | | 

| \| | ___ | |__ _ _ 

| . ` |/ _ \| '_ \| | | |

| |\ | (_) | |_) | |_| |

|_| \_|\___/|_.__/ \__,_|


## Example
For more examples see [examples](https://github.com/Smintfy/nobu/tree/main/examples/).
```C
#include

#include "nobu.h"

int main(int argc, char **argv)
{
AUTO_REBUILD_SELF(argc, argv);

printf("Hello!\n");

return 0;
}
```

we go ahead and build this once

```bash
cc -o main main.c
./main

# Hello!
```

and now if we update or change our C program example

```C
// from printf("Hello!\n");
printf("Hello, World!\n");
```

if we go ahead and run the executable again, it will rebuild from the new source and update the binary to that latest source

```bash
./main

# Hello, World!
```