8

What does symbol | mean in dependency list, e.g.

foobar: foo | bar
  do_something ....

Where foo and bar are targets generated by makefile.

Mike Kinghan
  • 55,740
  • 12
  • 153
  • 182
quantum_well
  • 869
  • 1
  • 9
  • 17

1 Answers1

4

See the section on order-only prerequisites in the GNU make manual.

Basically this means that bar must be built before foobar, but that foobar won't be considered out of date because bar is newer than foobar.

MadScientist
  • 92,819
  • 9
  • 109
  • 136