Added some comments and -g flag to Makefile

This commit is contained in:
go38coz
2026-06-28 21:17:41 +02:00
parent fb11fa9302
commit cd30d4aea6
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -2,4 +2,5 @@
*.bmp
tricorn
*.o
*.d
*.d
*.data
+1 -1
View File
@@ -1,5 +1,5 @@
CC = gcc
CFLAGS = -Wall -Wextra -O3 -std=c17 -msse4.1
CFLAGS = -Wall -Wextra -g -O3 -std=c17 -msse4.1
DEPFLAGS = -MMD -MP
LDFLAGS = -lm
+3 -3
View File
@@ -18,7 +18,7 @@ unsigned tests(void) {
void benchmarking(void) {
// do the benchmarking
}
// REMOVE LATER: interesting test command ./tricorn -s -2.0,0.6 -r 0.0010 -n 200 -d 1920,-1080 -o image.bmp -C
// REMOVE LATER: interesting test command ./tricorn -s -2.0,0.6 -r 0.0010 -n 200 -d 1920,1080 -o image.bmp -C
const char* help_messsage = "Help Message\n\n"
"Usage:\n"
" ./tricorn [OPTIONS]\n\n"
@@ -206,10 +206,10 @@ int main(int argc, char** argv)
}
printf("yashar\n");
if(version_to_use == 0) {
if(version_to_use == 0) { // -V0 uses optimized SIMD-Version
tricorn_simd(complexA,width,height,resolution,n,colored,tempArr);
}
else {
else if (version_to_use == 1){ // -V1 uses unoptimized version
tricorn(complexA,width,height,resolution,n,colored,tempArr);
}
printf("yashar\n");