In the last episode (Oct 01), Paul B Mahol said:
> On 10/1/10, Devin Teske <dte...@vicor.com> wrote:
> > On 10/1/10, Chetan Shukla <chetan.shu...@aricent.com> wrote:
> >> > I need to check the version of Make installed in FreeBSD.  make -v
> >> > does not help here.
> >> >  What is the similar command in FreeBSD ?
> >>
> >> On Fri, 2010-10-01 at 18:33 +0000, Paul B Mahol wrote:
> >> gmake. On serious side there is no way to find version and freebsd make
> >> havent changed much in years...
> >
> > On the command-line...
> >
> >    strings `which make` | grep -B1 MAKE_VERSION
> >
> > Or in a makefile...
> >
> >    /usr/tmp/Makefile:
> >    all:
> >     @echo "MAKE_VERSION='$(MAKE_VERSION)'"
> >
> >    make
> >    MAKE_VERSION='5200408120'
> 
> Nice.

Even nicer:

make -V MAKE_VERSION

Not that the version really helps; there have been many additions to make
since 2004.

-- 
        Dan Nelson
        dnel...@allantgroup.com
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to