https://github.com/hyouteki/bsbs
Bull Shit Build System
https://github.com/hyouteki/bsbs
build-system c
Last synced: 3 months ago
JSON representation
Bull Shit Build System
- Host: GitHub
- URL: https://github.com/hyouteki/bsbs
- Owner: hyouteki
- License: gpl-3.0
- Created: 2024-06-12T15:50:20.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-09-06T18:31:14.000Z (9 months ago)
- Last Synced: 2025-02-13T06:01:43.829Z (3 months ago)
- Topics: build-system, c
- Language: C
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bull Shit Build System
Minimal Build System implemented in C.``` makefile
let Log = Verbose
let CC = gcc
let CFLAGS = -Wall -Wextra
let BUILD_NAME = hellolabel build in
run $CC main.c -o $BUILD_NAME $CFLAGS
endlabel hello in
run $CC hello.c -o hello $CFLAGS
run ./hello
run rm -r hello
end
```## Quick Start
- Build the project
``` bash
gcc main.c -Wall -Wextra -o bsbs
```
- Build the example file 'hello'
``` bash
./bsbs hello
```
``` console
+ CC = gcc
+ CFLAGS = -Wall -Wextra
+ BUILD_NAME = hello
+ gcc hello.c -o hello -Wall -Wextra
+ ./hello
Hello moto
+ rm -r hello
```- Build the project but using *bsbs*.
``` bash
./bsbs build
```
``` console
+ CC = gcc
+ CFLAGS = -Wall -Wextra
+ BUILD_NAME = hello
+ gcc main.c -o hello -Wall -Wextra
```