From 72ea210de8d4e939617147fb2767621a7edcdc43 Mon Sep 17 00:00:00 2001 From: Judah Caruso Date: Wed, 18 Feb 2026 18:29:29 -0700 Subject: [PATCH] . --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 9d7ec8f..a5db2ff 100644 --- a/justfile +++ b/justfile @@ -27,11 +27,14 @@ blocks_include := if os() == "macos" { "" } else { "-I" + blocks_dir / "BlocksRu blocks_src := if os() == "macos" { "" } else { blocks_dir / "BlocksRuntime" / "runtime.c" + " " + blocks_dir / "BlocksRuntime" / "data.c" } # cflags +winflags := if os() == "windows" { "" } else { "" } macflags := if os() == "macos" { "-x objective-c -lobjc -framework Foundation -framework Cocoa -framework CoreFoundation -framework CoreGraphics -framework QuartzCore -framework Metal -framework MetalKit"} else { "" } +lnxflags := if os() == "linux" { "" } else { "" } +allflags := macflags + winflags + lnxflags csrc := "src/main.c" + " " + blocks_src cinc := "-Isrc -Ithirdparty " + blocks_include -cflags := "-std=c23 -fblocks -g " + macflags + " " + cinc +cflags := "-std=c23 -fblocks -g " + allflags + " " + cinc