[Top][All Lists]

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

Re: how to represent a character class of targets?

From: Robert P. J. Day
Subject: Re: how to represent a character class of targets?
Date: Thu, 23 Jun 2005 16:40:54 -0400 (EDT)

On Thu, 23 Jun 2005, John Graham-Cumming wrote:

> On Thu, 2005-06-23 at 13:07 -0400, Robert P. J. Day wrote:
> > sqlite_header_file:  sqlite[345].h
> >
> > or something at least as general.  i don't want to have to figure out
> > the current version, i just want to say, "there's a rule in this
> > makefile *somewhere* of this general form -- go find it and process
> > it."
> Why don't you just encode the version in a variable and use it.  It
> would surely be clearer than globbing, because what if there were
> both sqlite3.h and sqlite4.h present?
> I would do
>     sqlite_header_file: sqlite$(SQLITE_VERSION).h

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.

remember, according to the perl folks, laziness is a virtue.  or was
that hubris?  dammit, i always get those two confused.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]