aboutsummaryrefslogtreecommitdiff
path: root/nob.c
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-11-09 20:43:50 +0300
committerspl3g <spleefer6@yandex.ru>2025-11-09 20:43:50 +0300
commitfc326115fa154bc19f3f10d7c2c4e57710ef1e0d (patch)
tree53ea067805d79d578a258fb0c347aa1525ab2dc2 /nob.c
parent11e5f50717af85f775491a5d2a2867a7e0f9c45f (diff)
Move to sokol (broke the wave screen)
Diffstat (limited to 'nob.c')
-rw-r--r--nob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nob.c b/nob.c
index 8ab8e14..1449a80 100644
--- a/nob.c
+++ b/nob.c
@@ -9,7 +9,7 @@
#define nob_cc_include_path(cmd, path) cmd_append(cmd, temp_sprintf("-I%s", path))
#define nob_cc_no_link(cmd) cmd_append(cmd, "-c")
-#define nob_cc_my_flags(cmd) cmd_append(cmd, "-Wall", "-Wextra", "-ggdb")
+#define nob_cc_my_flags(cmd) cmd_append(cmd, "-Wall", "-Wextra", "-Wno-unused-function", "-ggdb")
typedef struct {
Nob_String_View *items;
@@ -92,7 +92,7 @@ int main(int argc, char **argv) {
nob_cmd_append(&cmd, input_sb.items);
}
- nob_cmd_append(&cmd, "-lm", "-lasound", "-lSDL3", "-lSDL3_ttf");
+ nob_cmd_append(&cmd, "-lm", "-lasound", "-lGL", "-lX11", "-lXcursor", "-lXi");
nob_cc_output(&cmd, BUILD_FOLDER "crynth");
if (!nob_cmd_run(&cmd))