mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-03 04:39:18 -05:00
Updated Working on GNU Linux (markdown)
@ -1,6 +1,6 @@
|
|||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
Raylib has several dependencies that you need in order to work with it.
|
raylib has several dependencies that you need in order to work with it.
|
||||||
|
|
||||||
#### Install required tools
|
#### Install required tools
|
||||||
You need a **GCC** (or alternative C99 compiler), **make** and **git** (to download raylib repo).
|
You need a **GCC** (or alternative C99 compiler), **make** and **git** (to download raylib repo).
|
||||||
@ -38,7 +38,7 @@ Simply follow the instructions in that link and you will be done, you do not nee
|
|||||||
|
|
||||||
## Building Library Manually
|
## Building Library Manually
|
||||||
|
|
||||||
To build your raylib game for GNU/Linux you need to download raylib git repository.Raylib already comes with ready-to-use makefiles and CMake system to compile source code, examples and templates.
|
To build your raylib game for GNU/Linux you need to download raylib git repository. raylib already comes with ready-to-use makefiles and CMake system to compile source code, examples and templates.
|
||||||
|
|
||||||
This guide is for all GNU/Linux distros, just note that APT is used as package manager for Debian based distros.
|
This guide is for all GNU/Linux distros, just note that APT is used as package manager for Debian based distros.
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ cd external/raylib-5.5/src/
|
|||||||
make PLATFORM=PLATFORM_DESKTOP
|
make PLATFORM=PLATFORM_DESKTOP
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Now you can compile your project with Raylib. The simplest possible Makefile for this would be:
|
5. Now you can compile your project with raylib. The simplest possible Makefile for this would be:
|
||||||
```makefile
|
```makefile
|
||||||
RAYLIB ?= ./external/raylib-5.5/src/
|
RAYLIB ?= ./external/raylib-5.5/src/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user