ylwrap and parallel make

Julien ÉLIE julien at trigofacile.com
Sun Apr 12 14:35:24 UTC 2009


Hi,

Shoudn't we use ylwrap?

    "This program wraps lex and yacc to rename their output files.
    It also ensures that, for instance, multiple yacc instances can be
    invoked in a single directory in parallel."

Otherwise, it might cause problems with "make -j" because of:

config_l.o: config_l.c [...] config_y.h
config_y.o: config_y.c [...]

config_y.c config_y.h: configfile.y
 $(YACC) -d $?
 mv y.tab.h config_y.h
 mv y.tab.c config_y.c

config_l.c: configfile.l
 $(LEX) $?
 mv lex.yy.c config_l.c


Or it it unneccesary to use that wrapper?  Or is there something better
to do?

-- 
Julien ÉLIE

« Les femmes seront les égales des hommes le jour
  où elles accepteront d'être chauves
  et de trouver que cela distingue. » (Coluche)




More information about the inn-workers mailing list