{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
        "label": "control shift B",
        "type": "shell",
        "command": "echo ${fileBasenameNoExtension}",
        "dependsOn": ["default run executable"],
        "group": {"kind": "build","isDefault": true}
        },
        {
        "label": "default compile",
        "type": "shell",
        //"command": "g++ ${fileBasename} -L ${env:ow}/lib/ -I ${env:ow}/include/ -o ${fileBasenameNoExtension}/${fileBasenameNoExtension}.exe",
        "command": "$(make clean f=${fileBasenameNoExtension}.exe) -and $(make ${fileBasenameNoExtension}.exe)",
        "dependsOn": ["default directory"]
        },
        {
        "label": "default run executable",
        "type": "shell",
        "command": "${fileBasenameNoExtension}/./${fileBasenameNoExtension}.exe",
        "dependsOn": ["default compile"]
        },
        {
        "label": "default directory",
        "command": "$(test-path ${fileBasenameNoExtension}) -or $(mkdir ${fileBasenameNoExtension})",
        "type": "shell"
        }
    ]
}