changeset 28:99592fae8ea1

add instructions
author Dennis C. M. <dennis@denniscm.com>
date Wed, 28 Jun 2023 08:59:28 +0100
parents 30b6812fefdd
children dae463bbf5ca
files README.md
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.md	Wed Jun 28 08:58:44 2023 +0100
+++ b/README.md	Wed Jun 28 08:59:28 2023 +0100
@@ -8,9 +8,14 @@
 ## Compile
 
 ```bash
-gcc main.c -lglut -lGL -lGLU -lm -I/usr/local/include/freetype2 -L/usr/local/lib -lfreetype
+mkdir build
+cd build
+cmake ..
+make
+./algo_animator
 ```
 
+
 ## To improve
 
 Since `GLUT` is single-thread, I cannot call `glutPostRedisplay()` within `while` or `for loops` to redraw the screen in every