@olafhering wrote:
I have
(library (c_names a))
, which will process ana.c
. Thisa.c
does#include "a.h"
. Dune already has a rule to generate thisa.h
with(rule (target a.h) (deps a.input) (action (with-stdout-to %{target} (system "some-command < a.input"))))
.How do I tell dune to process the rule to generate
a.h
before it starts processinga.c
?
Posts: 6
Participants: 3