remove files 3

This commit is contained in:
Alexey Norets 2025-09-20 09:31:32 +03:00
parent 4d66149dc6
commit 632d0660e7
5 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
./.*.swp
./build/*
./src/*
./*.old

BIN
build/main Executable file

Binary file not shown.

Binary file not shown.

1
nob.c
View File

@ -28,6 +28,7 @@ int main(int argc, char **argv){
nob_cmd_append(&cmd, "-Wall", "-Wextra");
nob_cmd_append(&cmd, "-o", BUILD_FOLDER"main", SRC_FOLDER"main.c");
if(!nob_cmd_run(&cmd)) return 1;
nob_cmd_append(&cmd, BUILD_FOLDER"main");
if(!nob_cmd_run(&cmd)) return 1;

7
src/main.c Normal file
View File

@ -0,0 +1,7 @@
#include <stdio.h>
int main()
{
printf("Hello, world\n");
return 0;
}