Somewhat OT: Using Pipes Inside a GNU Make File

Tim Daneliuk tundra at tundraware.com
Thu Sep 6 00:09:42 UTC 2012


A bit off topic, but I'm kind of stuck.  I am using gmake and want to
do something like this:

    FOO := $(shell a | b | c)

But this appears not to work.  Only the 'a' command is executed.  The remainder
of the pipeline is ignored.  Is there some clean way to implement this
kind of thing?


-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra at tundraware.com
PGP Key:         http://www.tundraware.com/PGP/



More information about the freebsd-questions mailing list