gnu make - Makefile putting child on chain -
i'm working makefile , i'm running in debug mode. noticed "putting child 0x5435etc pid 2344 on chain" makefiles way of remembering files generated?
i ask because i'm using tool generates bunch of different file types of of target below.
%.v: $.rdl (generates .html, .v, .vh, .xml, .spirit.xml, etc current directory)
the tool generates files expected , desired.
then makefile runs target
vpath %.spirit.xml ${list_of_directories} %.ralf: %.spirit.xml (generates .ralf , .spirit.ralf)
the first time run "$ make " in clean directory generates list of .v files on first target, fails on first .ralf. if run "$ make " again correctly builds of .ralf files. possible easy answers? noticed when puts children chain %.v target ever puts .v files! thinking might not know others exist!
yeah, need tell make that command produces multiple outputs.
this should work:
%.html %.v %.vh %.xml %.spirit.xml: %.rdl # command
see pattern examples in manual.
Comments
Post a Comment