Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/smintfy/nobu
- Owner: Smintfy
- Created: 2024-10-30T13:25:12.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T17:46:12.000Z (about 2 months ago)
- Last Synced: 2024-10-30T18:26:20.089Z (about 2 months ago)
- Language: C
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!
```