nob.h icon indicating copy to clipboard operation
nob.h copied to clipboard

nob_cmd_render and nob__cmd_start_process

Open fbucafusco opened this issue 4 months ago • 0 comments

Fixes nob for when you have this pattern:

#ifdef OPTIM #define CFLAGS "-O2" #else #define CFLAGS "" #endif .... cmd_append(&cmd, COMPILER_C, "-c" , "file.c" , CFLAGS , INCLUDES , "-o", "myexec");

When OPTIM is not defined, then CFLAGS is "" and execvp fails. also works with #define CFLAGS NULL

Also fixes nob_cmd_render.

fbucafusco avatar Aug 30 '25 18:08 fbucafusco