Re: [cc65] makefile problems

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-11-06 12:17:22
On Thu, Nov 04, 2004 at 09:31:30AM -0500, Greg King wrote:
> This is a slightly simpler way:
>
> prefix=/usr
> bindir=$(prefix)/lib/cc65/bin/
> libdir=$(prefix)/lib/cc65/lib
> incdir=$(prefix)/lib/cc65/include

This can be made even simpler:-) If cc65 is correctly installed, we can expect
the binaries in the search path, and the libraries in the default location or
CC65_INC and CC65_LIB correctly set. So in this case we don't need any paths
at all. If we don't do it this way, CC65_INC may be set from the outside and
not match $(incdir).

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 Sat Nov 6 12:17:24 2004

This archive was generated by hypermail 2.1.8 : 2004-11-06 12:17:34 CET