Mercurial
comparison postdog/BUILD @ 60:d64a8c189a77
Merged
| author | June Park <me@mrjunejune.com> |
|---|---|
| date | Sat, 20 Dec 2025 13:56:01 -0500 |
| parents | ccb42d5bf8fd |
| children | 75de5903355c |
comparison
equal
deleted
inserted
replaced
| 50:983769fba767 | 60:d64a8c189a77 |
|---|---|
| 1 load("//third_party/raylib:raylib.bzl", "raylib_binary") | |
| 2 load("//gui_ze:gui_ze.bzl", "macos_app_and_dmg") | |
| 3 | |
| 4 raylib_binary( | |
| 5 name = "postdog", | |
| 6 srcs = ["main.c"], | |
| 7 deps = [ | |
| 8 "//third_party/raylib:raylib", | |
| 9 ], | |
| 10 linkopts_macos = [ | |
| 11 "-framework CoreVideo", | |
| 12 "-framework IOKit", | |
| 13 "-framework Cocoa", | |
| 14 "-framework GLUT", | |
| 15 "-framework OpenGL", | |
| 16 "-lcurl", | |
| 17 ], | |
| 18 linkopts_linux = [ | |
| 19 "-lGL", | |
| 20 "-lm", | |
| 21 "-lpthread", | |
| 22 "-ldl", | |
| 23 "-lrt", | |
| 24 "-lX11", | |
| 25 "-lcurl", | |
| 26 ], | |
| 27 static = True | |
| 28 ) | |
| 29 | |
| 30 macos_app_and_dmg( | |
| 31 name = "postdog_bundle", | |
| 32 binary = ":postdog", | |
| 33 bundle_id = "com.june.postdog" | |
| 34 ) | |
| 35 |