123456789101112131415161718192021222324252627282930 |
- ;; https://discuss.ocaml.org/t/dune-how-to-link-statically-on-linux-not-on-others/8537/4?u=mro
- (rule
- (with-stdout-to
- flags.sexp
- (run sh %{dep:gen_flags.sh})))
- (rule
- (with-stdout-to
- version.ml
- (run echo "let dune_project_num = \"%{version:geohash}\"")))
- (rule
- (target res.ml)
- (deps
- (source_tree ../res))
- (action
- (with-stdout-to
- %{target}
- (run ocaml-crunch --mode=plain ../res))))
- ; https://stackoverflow.com/a/53325230/349514
- (executable
- (name main)
- (libraries lib geohash tyre)
- ; https://discuss.ocaml.org/t/ld-error-missing-note-gnu-stack-section/12478/2
- (flags
- (:include flags.sexp)))
|