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). Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri Oct 22 20:53:36 2004
This archive was generated by hypermail 2.1.8 : 2004-10-22 20:53:45 CEST