From cc64f55792278bc3f336d5e000949c8e406cef67 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 18 Feb 2025 00:38:01 -0500 Subject: Release build --- Makefile | 7 +++++++ main.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3