summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-02-18 00:38:01 -0500
committerpommicket <pommicket@gmail.com>2025-02-18 00:38:01 -0500
commitcc64f55792278bc3f336d5e000949c8e406cef67 (patch)
tree7e3ffa1ef94d2cf1662a8a07d425817dbd3052dd
parent25786c1a97451b5093ebcdb09e41a9fb36cd6102 (diff)
Release build
-rw-r--r--Makefile7
-rw-r--r--main.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e55eb63..c106fea 100644
--- a/Makefile
+++ b/Makefile
@@ -6,3 +6,10 @@ debug/setup:
rm -rf debug
meson setup debug
touch debug/setup
+release: release/camlet
+release/camlet: meson.build main.c release/setup
+ meson compile -C release
+release/setup:
+ rm -rf release
+ meson setup release
+ touch release/setup
diff --git a/main.c b/main.c
index a321990..f8c33f3 100644
--- a/main.c
+++ b/main.c
@@ -813,7 +813,7 @@ void main() {\n\
memset(camera->hash.hash, 0, sizeof camera->hash.hash);
crypto_generichash_final(&camera->hash_state, camera->hash.hash, sizeof camera->hash.hash);
}
- printf("Select a camera:\n");
+ printf("---CAMERAS---\n");
for (size_t i = 0; i < arr_len(cameras); i++) {
Camera *camera = &cameras[i];
printf("[%zu] %s ", i, camera->name);