2
0
Эх сурвалжийг харах

Merge branch 'feat/readme-installation-fix' of Vinora-Project/vinora-engine into develop

Evgeniy Parfenyuk 1 сар өмнө
parent
commit
717af1d267
1 өөрчлөгдсөн 24 нэмэгдсэн , 41 устгасан
  1. 24 41
      README.md

+ 24 - 41
README.md

@@ -18,49 +18,32 @@ But if you are a programmer -- you are welcome to
 
 ## Installation
 
-### Installing raylib
+Just run:
 
-You have two options here: build raylib manually or get it automatically
-from Github. They are both easy to do, but for building you need to install 
-additional dependencies, which is not really cool and for auto download you
-need to rely on Github.
-
-It's up for you what to choose.
-
-##### Manually building
-
-If you want build raylib manually, you need to prepare some dependencies:
-
-- [Linux](docs/working_from_Linux.md)
-- [MacOS](docs/working_from_MacOS.md)
-- Windows
-- ChromeOS
-- FreeBSD
-- Raspberry Pi 
-- Android
-
-##### Auto download Vinora 
-
-So, you need some C99 compiler (we use `gcc`), `make`, `git` and `wget`.
-
-`sudo apt install build-essential git wget`
-
-After you installed this, run: 
-
-    make fetch-raylib
-
-It would download raylib from Github instead of building it. 
-
-### Building Vinora 
-
-Simply run: 
-
-    make
-
-It would Vinora Engine.  
-That's all, you've done!
+```
+$ make run
+```
 
-___
+That's all!  
+Except if you never built a GUI program, linker throw errors at you. Well,
+you have two choices here:
+
+1. Get raylib library as binary from Github (only for Linux/MacOS for now).
+That's kinda easier, but you need to trust Microsoft Corporation.
+(Not cool).  
+Just run `make fetch-raylib` for that, then `make run` once again.
+2. Build it yourself. Good news is that raylib's source code is included
+in repo (external/raylib/src/), and `make` trying to build it by default.
+So, if you have an error you need some OS-specific additional steps. 
+Read them here:
+
+    - [Linux](docs/working_from_Linux.md)
+    - [MacOS](docs/working_from_MacOS.md)
+    - Windows
+    - ChromeOS
+    - FreeBSD
+    - Raspberry Pi 
+    - Android
 
 ## Design