From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Wed, 14 Jun 2017 21:45:24 +0200 Subject: [Cocci] Replacing suffix rules in make scripts? In-Reply-To: <020f8c95-fcaa-d47e-410b-7fb633fefa09@users.sourceforge.net> References: <020f8c95-fcaa-d47e-410b-7fb633fefa09@users.sourceforge.net> Message-ID: <9c2abe52-5ef9-62e0-26ab-f4fc69513257@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr > So I get the impression that an other build approach will be safer there. > How do you think about to add a dependency specification so that interface > descriptions will be always compiled before the corresponding OCaml code? Hello, I have achieved another bit of progress with my attempt to replace suffix rules by pattern rules in some make scripts. I stumbled on the next software development challenge as follows. elfring at Sonne:~/Projekte/Coccinelle/20160205> LANG=C make V=1 ? make[6]: Entering directory '/home/elfring/Projekte/Coccinelle/20160205/globals' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /home/elfring/Projekte/Coccinelle/20160205/bundles/pcre/ -c iteration.ml File "iteration.ml", line 36, characters 4-28: Error: Unbound module Flag make[6]: *** [/home/elfring/Projekte/Coccinelle/20160205/common_rules.make:12: iteration.cmx] Error 2 ? * Do I overlook an ?obvious? software dependency once more in this use case? * How should the relevant details be resolved here? Regards, Markus