[Omake] omake bug with multiple targets

Sam Steingold sds at gnu.org
Thu Feb 5 09:57:18 PST 2009


Hi,
Suppose generator.exe creates 3 files: a.ml, b.ml, c.ml.
if my OMakefile says:
================================
a.ml b.ml c.ml : generator.exe
	./generator.exe

a.exe : a.ml
  ....

b.exe : b.ml
  ....
================================
then generator.exe is called 3 times(!) with disastrous consequences (the 3 
simultaneous - with "omake -j 3" - invocations overwrite each other's files).

is this a known bug?
is there a workaround?

Thanks.
Sam.



More information about the Omake mailing list