minor changes; better build

This commit is contained in:
masterexplorer 2024-08-27 10:32:17 +02:00
parent 0e0b22484f
commit e60efea1e0
2 changed files with 3 additions and 4 deletions

View File

@ -14,11 +14,10 @@ int main() {
}
#ifdef PRINT_DBG
for(int i = 0; i < 65535; ++i) {
for(int i = 0; i < list.size(); ++i) {
printf("%d\n", list[i]);
}
#endif /* PRINT_DBG */
printf("sizeof(int)> %d\n", sizeof(int));
return 0;
}

View File

@ -1,4 +1,4 @@
debug:
g++ main.cpp -o main
g++ main.cpp -g -o main
release:
g++ main.cpp -O2 main
g++ main.cpp -O2 -o main