Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2016 10:42:47 -0800
From:      Aleksandr Miroslav <alexmiroslav@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   have BSD make pass all arguments to GNU make?
Message-ID:  <CACcSE1z2Jt_LRkFV59NttPAey_aB6Kmn3cogmmTn4W9FacS03g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
In shell, if I call a script "foo", i can pass all the arguments to a
script "bar" like this:


*bar $**

I would like to do something similar with make.

If I call BSD make with some target, I'd like to rerun it on a GnuMakefile,
something like this:


*gmake $**

Obviously this doesn't work because (I think) make doesn't have the notion
of $*.

But is something like this possible?

(I'd rather not alias make to gmake, in case you were wondering, my system
uses  both makes in various places.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACcSE1z2Jt_LRkFV59NttPAey_aB6Kmn3cogmmTn4W9FacS03g>