aboutsummaryrefslogtreecommitdiffstats
path: root/bin/dune
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-04-20 21:59:37 -0300
committerEstevan Castilho <tevo@riajuu.net>2026-04-29 23:30:21 +0000
commit35c7bf1ff874b0a75b810cf889692656d97abf76 (patch)
treedcb144e3523f88667081b953476a83723a27a146 /bin/dune
parent4fdf3392868c72ff4c33b70d165a177e97f2fece (diff)
downloadSakura-35c7bf1ff874b0a75b810cf889692656d97abf76.tar.gz
Sakura-35c7bf1ff874b0a75b810cf889692656d97abf76.zip
bootstrap nix with c on dune
Diffstat (limited to 'bin/dune')
-rw-r--r--bin/dune6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/dune b/bin/dune
index b559855..36633c1 100644
--- a/bin/dune
+++ b/bin/dune
@@ -4,3 +4,9 @@
(modules server)
(libraries relational_engine unix)
(modes byte exe))
+
+(rule
+ (targets main_c.exe)
+ (deps main.c)
+ (action
+ (bash "cc main.c -o main_c.exe $(pkg-config --cflags --libs lmdb)")))