mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-26 08:59:16 -05:00
Remove questionable section on "unity builds" - this section cites some "build.sh" script with hardcoded paths to raylib, and on top of it it doesn't even describe a unity build
@ -132,21 +132,6 @@ zypper in raylib-devel
|
|||||||
|
|
||||||
[raysan5]: mailto:ray@raylib.com "Ramon Santamaria - Ray San"
|
[raysan5]: mailto:ray@raylib.com "Ramon Santamaria - Ray San"
|
||||||
|
|
||||||
### "Unity build" - the simplest way to build a project.
|
|
||||||
|
|
||||||
On linux you can easily build your project without having to mess with make files. It's fast, and easier to reason about. This is called a unity build (no it has nothing to do with the Unity game engine)
|
|
||||||
|
|
||||||
Create a build file, and give it executable permissions:
|
|
||||||
```
|
|
||||||
touch build.sh
|
|
||||||
chmod 700 build.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
Then edit build.sh:
|
|
||||||
```
|
|
||||||
cc main.c -g -std=c99 -c -I /opt/raylib/src -o main.o
|
|
||||||
cc main.o -s -Wall -std=c99 -I/opt/raylib/src -L/opt/raylib/release/libs/linux -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
|
|
||||||
```
|
|
||||||
|
|
||||||
### The simplest possible build command
|
### The simplest possible build command
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user