aboutsummaryrefslogtreecommitdiffstats
path: root/bin/dune
diff options
context:
space:
mode:
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)")))