[cc65] Include paths?

From: Apple2Stuff <apple2stuff1rogers.com>
Date: 2007-02-16 21:06:05
I have an installation of cc65 under cygwin

actual paths
lib-  /lib/cc65/lib
include - /lib/cc65/include
samples - /lib/cc65/samples

make file rule

works

.c.o:
    @echo $<
    @$(CC) -Oirs -T --forget-inc-paths --codesize 500 -g -t $(SYS) 
-I../include/ $<
    @$(AS) $(basename $<).s

doesn't work

.c.o:
    @echo $<
    @$(CC) -Oirs -T --forget-inc-paths --codesize 500 -g -t $(SYS) 
-I/lib/cc65/include/ $<
    @$(AS) $(basename $<).s

The makefile included with the cc65 source, suggests that you set two 
environment variables - CC65_LIB and CC65_INC. These both are fixed 
paths. When I tried to use them in the samples makefile the compiler and 
linker cannot find the include files or libraries ...if I use relative 
paths (as in the first sample above) then all is well ...

?

Glenn
----------------------------------------------------------------------
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 Feb 16 21:06:22 2007

This archive was generated by hypermail 2.1.8 : 2007-02-16 21:06:26 CET