Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bq",
"args": ["/home/createsource/git/brainquack/tests/392quine.bf"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# limitations under the License.

CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE
#CFLAGS = -std=c99 -pedantic -Wall -Wextra -Og -ggdb3 ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wextra -O3 ${CPPFLAGS}
CC = cc
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Og -ggdb3 ${CPPFLAGS}
# CFLAGS = -std=c99 -pedantic -Wall -Wextra -O3 ${CPPFLAGS}
CC = clang-22

bq: bq.c
${CC} -o $@ ${CFLAGS} $<
Expand Down
Loading