Re: [cc65] makefile problems

From: Groepaz <groepaz1gmx.net>
Date: 2004-10-25 08:30:55
On Friday 22 October 2004 20:53, Ullrich von Bassewitz wrote:
> 
> On Fri, Oct 22, 2004 at 11:42:34AM +0200, Groepaz wrote:
> > what about an if/else construct then and a INSOURCETREE=1/0 variable at the
> > top? two makefiles sound like overkill to me :=P
> 
> I would prefer something automatic. How about using the source tree tools if
> they exist, and otherwise fall back to something installed in /usr/bin?
> 
> Something like
> 
> CC65=$(wildcard,../src/cc65/cc65)
> ifeq "$(CC65)" ""
> CC65=$(PREFIX)/cc65
> endif
> 
> (if that works).

mmmh does that work? :o) but yeah, sounds good to me.... :)

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Oct 25 08:32:38 2004

This archive was generated by hypermail 2.1.8 : 2004-10-25 08:32:47 CEST