[refactor]: c++ implementation (#13)

implemented in c++ to improve readability and simplify maintenance

Co-authored-by: HiveBeats <e1lama@protonmail.com>
Reviewed-on: #13
This commit is contained in:
2023-08-08 22:08:18 +03:00
parent bcb75a65f9
commit a445fc44b3
31 changed files with 1006 additions and 1054 deletions

View File

@@ -1,3 +1,5 @@
#!/bin/bash
CC="${CXX:-cc}"
$CC -Wall -std=c11 ./main.c ./utils.c ./ring_buffer.c ./oscillator.c ./parser.c ./export.c -lm -lraylib -o ./bin/main
CC="${CXX:-c++}"
LL="-lm -lraylib"
FLAGS="-Wall -std=c++17 -I./inc/"
$CC $FLAGS $(find ./src -type f -iregex ".*\.cpp") $LL -o ./bin/main