Re: GAR makefile conditionals?



begin  Ben Taylor  quotation:
> >	http://lnx-bbc.org/gartips9.html
> Cool.  But I don't see anything in GAR that supports an OS, as
> opposed to an architecture. Did I miss something?

	The same trick works for any other variable you could chose to
use.  You could, for example, do:

Linux_CONFIGURE_ARGS = --os=gnu
FreeBSD_CONFIGURE_ARGS = --os=bsd

CONFIGURE_ARGS += $($(shell uname -s)_CONFIGURE_ARGS)

Or whatever.  The whole point of that page is to demonstrate that you
don't need any help from GAR to do this sort of thing -- it's all
facilities present in GNU make.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]