Re: [cc65] library path

From: Karri Kaksonen <karri1sipo.fi>
Date: 2009-09-24 09:26:01
Groepaz wrote:
> for the records: i never used those environment variables, and for a *nix 
> program it would be kinda strange if i had to. is it really going to be a 
> requirement?
>
>   


I believe you really need these. In Unix I have this in my makefiles:

# Include paths we may need for compilations
ifeq ($(CC65_INC),)
        CC65_INC=/usr/lib/cc65/include
endif
ifeq ($(CC65_ASMINC),)
        CC65_ASMINC="$(CC65_INC)/../asminc"
endif

# Rule for making a *.o file out of a *.s file
%.o: %.s
        $(AS) -t lynx -I $(CC65_ASMINC) -o $@ $(AFLAGS) $<

The Windows installation define these variables by default and I can 
also define them if I want to. But I don't have to do it as the 
Makefiles know where to find stuff.

--
Karri

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 24 09:26:14 2009

This archive was generated by hypermail 2.1.8 : 2009-09-24 09:26:16 CEST