From 4a4ed128e30bb7318cef1e5f74f28a0c96fe1686 Mon Sep 17 00:00:00 2001 From: aleksav013 Date: Thu, 3 Jun 2021 10:16:19 +0200 Subject: Finishing Makefile --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3