diff options
| author | Raymaekers Luca <luca@keyfried.com> | 2026-01-08 13:03:39 +0100 |
|---|---|---|
| committer | Raymaekers Luca <luca@keyfried.com> | 2026-01-08 13:10:12 +0100 |
| commit | 6ce0bd6296431928f94d3ab35f084daaf8ca515a (patch) | |
| tree | 998977a0df0eebfe69b59058882fc5d41ca1ac6f | |
| parent | 6fcf603d486d6eaa547ff122564ecd729b3d89ae (diff) | |
| parent | 5c107b4d9fe8f5a97e53430ba17c97c55b2a6d14 (diff) | |
Merge branch 'main' of autumn:wordledmain
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | code/build.cpp | 15 |
2 files changed, 9 insertions, 8 deletions
@@ -4,7 +4,7 @@ `Wordled` is a GUI application that lets you draw patterns such that you can later input them in the [Wordle](https://www.nytimes.com/games/wordle/index.html) game. It will then generate the guesses to achieve the required pattern. ## Showcase -<video autoplay loop muted src="https://git.spacehb.net/wordled/plain/showcase.mp4?h=main"></video> +<video autoplay loop muted src="/wordled/plain/showcase.mp4?h=main"></video> ## Run Both following build steps will output executable programs in the `build` directory. Do note that diff --git a/code/build.cpp b/code/build.cpp index ffd0668..394b611 100644 --- a/code/build.cpp +++ b/code/build.cpp @@ -1,6 +1,6 @@ #include "libs/build.h" -void Build(char *Name, str8 Flags) +void Build(char *Env[], char *Name, str8 Flags) { printf("%s\n", Name); @@ -23,15 +23,16 @@ int main(int ArgsCount, char *Args[], char *Env[]) LinuxChangeToExecutableDirectory(Args); LinuxRebuildSelf(ArgsCount, Args, Env); - Build("[linux handmade compile]", S8Lit("-DHANDMADE_INTERNAL=1 -DHANDMADE_SLOW=1 -DHANDMADE_SMALL_RESOLUTION=1 " - "-lX11 -lXfixes -lasound " - "-o linux_handmade " - "../code/libs/hm_linux/linux_handmade.cpp")); + Build(Env, "[linux handmade compile]", + S8Lit("-DHANDMADE_INTERNAL=1 -DHANDMADE_SLOW=1 -DHANDMADE_SMALL_RESOLUTION=1 " + "-lX11 -lXfixes -lasound " + "-o linux_handmade " + "../code/libs/hm_linux/linux_handmade.cpp")); - Build("[handmade compile]", + Build(Env, "[handmade compile]", S8Lit("-shared -fPIC " "-DHANDMADE_INTERNAL=1 -DHANDMADE_SLOW=1" - "-Wno-conversion " + "-Wno-implicit-int-float-conversion -Wno-float-conversion -Wno-implicit-float-conversion -Wno-shorten-64-to-32 " "-o handmade.so " "../code/handmade.cpp")); |
