summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-02-17 12:14:12 -0500
committerpommicket <pommicket@gmail.com>2025-02-18 00:35:41 -0500
commit25786c1a97451b5093ebcdb09e41a9fb36cd6102 (patch)
tree2f1813b4712549264042a3f31384e364ad6d6f07 /Makefile
parentf60759edfb24372bf62efbb44490a22595d44234 (diff)
small fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 64ae400..e55eb63 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
-camlet.debug: meson.build main.c
- @if [ '!' '-d' debug ]; then meson setup debug; fi
+camlet.debug: meson.build main.c debug/setup
meson compile -C debug
ln -sf debug/camlet camlet.debug
cp debug/compile_commands.json .
+debug/setup:
+ rm -rf debug
+ meson setup debug
+ touch debug/setup