Skip to main content.
home | support | download

Back to List Archive

Re: swish-search (was: Re: Errors during HP-UX

From: SRE <eckert(at)not-real.climber.org>
Date: Thu Aug 02 2001 - 08:25:04 GMT
At 12:29 AM 8/2/01, Bill Moseley wrote:
>Well, it's not a complicated build procedure: ;)
>NAME = swish-e
>swish-search: $(NAME)
>        cp -f $(NAME) swish-search

Cute.

swish-e: $(OBJS)
        make CFLAGS="$(CFLAGS)" $(OBJS)
        $(CC) -o swish-e -g $(CFLAGS) $(OBJS) $(LIBS)
        chmod 755 swish-e

swish-search:
        rm -f $(OBJS)
        make CFLAGS="-DINDEX_READ_ONLY $(CFLAGS)" $(OBJS)
        $(CC) -o swish-search -g $(CFLAGS) $(OBJS) $(LIBS)
        chmod 755 swish-search

Note that INDEX_READ_ONLY must be defined to wipe out the write routines.
The executable WAS different, unlike with your suggestion.

Look, I won't try to convince you it's better. You clearly don't
think so. On the other hand, you appear to have removed a feature
that others DO think is useful (and for no apparent reason other
than you don't plan to use it). Is that wise? Is it optimal?

SRE

mailto:eckert(at)not-real.climber.org | http://www.climber.org/eckert/
Info on peak climbing email lists mailto:info@climber.org

"A free society is one where it is safe to be unpopular."
  -- Adlai Stevenson
Received on Thu Aug 2 08:32:30 2001