summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);