aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-07 15:38:47 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-07 15:38:47 +0100
commite5c9d4c53ed3d02cf64b4c97c3b7335e35280494 (patch)
treecae257f7ff26c4af8041e13c3151d05cd21595d4
parent14f1d46a8d4d0451138bca4b048401b16ee8445e (diff)
downloadtermgl-e5c9d4c53ed3d02cf64b4c97c3b7335e35280494.tar.gz
Readme
-rw-r--r--Readme.md8
1 files 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`.