]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
README.md: mention `make clean`, more specific build deps
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 24 Nov 2023 05:02:32 +0000 (15:02 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 9 Dec 2023 10:13:34 +0000 (20:13 +1000)
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
README.md

index 6c29a5c2d77a7e1b6bd243be0772533c7946fd03..72e7b8d6fc1902c4d24044b9d60aa14ec46d1cdc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,12 +17,17 @@ Developed by LadyHavoc. See [CREDITS](CREDITS.md) for a list of contributors.
 
 ## Build instructions (WIP)
 
-You will need the following packages regardless of platform:
-* SDL2
-* libjpeg
-* libpng
-* libvorbis
-* libogg
+### Required packages
+
+These names are for Debian, you may need to find equivalents for your platform.
+
+##### Client
+Build (mandatory): `build-essential` `libjpeg-dev` `libsdl2-dev`  
+Runtime (optional): `libcurl` `libpng` `libfreetype6` `libvorbisfile`  
+
+##### Dedicated Server
+Build (mandatory): `build-essential` `libjpeg-dev` `zlib1g-dev`  
+Runtime (optional): `libcurl` `libpng`  
 
 ### Windows (MSYS2):
 
@@ -52,6 +57,9 @@ From a terminal, in the engine's root directory, input `make`. On macOS, input `
 
 Input `make help` for options.
 
+If you get errors (that don't seem to be about missing dependencies) try `make clean` before compiling, especially if you updated your system since the last time you compiled.
+
+
 ### Windows (Visual Studio)
 
 Instructions coming soon.