From e5c9d4c53ed3d02cf64b4c97c3b7335e35280494 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 7 Mar 2019 15:38:47 +0100 Subject: Readme --- Readme.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 9b41cd1..d142aaf 100644 --- a/Readme.md +++ b/Readme.md @@ -7,13 +7,15 @@ engine is a library for displaying ASCII-graphics in a text console. For more in ## Compiling the library -engine should compile just fine with just the c++ standard librarys. +engine should compile just fine with just the c++ standard librarys. The Makefile is set up for clang, but gcc should also work. Required Packages: - g++ + clang make -`make` creates two folders in ./build/: lib and inc, wich hold the library and the headers respectively. these can then be copied into your projects directory. Run `make run` to build and run the example program. +`make` creates two folders in `build/`: lib and inc, wich hold the library and the headers respectively. these can then be copied into your projects directory. + +Run `make run` to build and run the example program specified by `$TESTSOURCE` in the Makefile. It is not compiled against the library, but just statically linked with the .o-files for easier debugging. The same example-programs can also be linked with the dynamic library by using the Makefile in `example/`. To build the documentation, install `doxygen` and run `make doc`. -- cgit v1.2.3