On Thu, 2005-06-23 at 16:40 -0400, Robert P. J. Day wrote:
> i wsa just trying to be unspeakably lazy and be able to refer to an
> arbitrary sqlite source tree and let the makefile figure it out from
> there, that's all.

Well, if what you want to do is find just one sqliteX.h then you could
always do:

sqlite_header_file: $(firstword $(wildcard sqlite[3-5].h))

and then I guess you'll want to sort them so something like this will
work:

sqlite_header_file: $(call last,$(sort $(wildcard sqlite[3-5].h)))

John.
-- 
John Graham-Cumming

Home: http://www.jgc.org/
Work: http://www.electric-cloud.com/
POPFile: http://getpopfile.org/
GNU Make Standard Library: http://gmsl.sf.net/




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to