From 4cce39f75c73cee8cff2e8ffc4090eeda57cb900 Mon Sep 17 00:00:00 2001 From: Peter0x44 Date: Thu, 21 Oct 2021 20:13:38 +0100 Subject: [PATCH] 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 --- Working-on-GNU-Linux.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Working-on-GNU-Linux.md b/Working-on-GNU-Linux.md index 172d753..ea5732e 100644 --- a/Working-on-GNU-Linux.md +++ b/Working-on-GNU-Linux.md @@ -132,21 +132,6 @@ zypper in raylib-devel [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 ```