aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoraleksav013 <aleksav013@gmail.com>2021-06-03 10:16:19 +0200
committeraleksav013 <aleksav013@gmail.com>2021-06-03 10:16:19 +0200
commit4a4ed128e30bb7318cef1e5f74f28a0c96fe1686 (patch)
treecc2745c6ffd29ada5ddd0fa0e8de1813ef8862d4 /README.md
parentdbe41a2f77774ee716d3ff45db766d6400970f57 (diff)
Finishing Makefile
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index ddd8eca..0173ee1 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Simple C++ SFML school project.
- [**libsfml-dev**](https://packages.debian.org/buster/libsfml-dev) for Debian based distributions
- [**sfml**](https://archlinux.org/packages/community/x86_64/sfml/) for Arch based distributions
```
-g++ -std=c++14 -O2 -o sfml-rpg main.cpp -lsmfl-graphics -lsfml-window -lsfml-system
+make
```
### Windows
@@ -14,8 +14,9 @@ g++ -std=c++14 -O2 -o sfml-rpg main.cpp -lsmfl-graphics -lsfml-window -lsfml-sys
- Install [mingw-w64](http://mingw-w64.org/doku.php/download/mingw-builds)
- Add mingw64\bin to $PATH
```
-g++ -std=c++14 -O2 -o sfml-rpg main.cpp -I SFML-2.5.1\include -L SFML-2.5.1\lib -lsfml-graphics -lsfml-window -lsfml-system
+g++ -std=c++14 -g -O2 -Wall -o sfml-rpg *.cpp -I SFML-2.5.1\include -L SFML-2.5.1\lib -lsfml-graphics -lsfml-window -lsfml-system
```
+Or just use Linux
> If you use Visual Studio or Code::Blocks you can follow [official tutorial](https://www.sfml-dev.org/tutorials) for setting up SFML.
## Requirements
- SFML 2.5+ version