mirror of
https://github.com/cc65/cc65.git
synced 2025-01-24 20:30:08 +00:00
Explicitly set search paths for libraries build.
The libraries build is prepared to work with binaries not part of the current working tree. But in this case the default search path surely points to some other working tree. Even the binaries in this working tree might have been compiled with non-standard builtin search paths. Anyway when building the libraries we want always to use the headers from the current working tree. Therefore we want to set them explicitly. Instead of setting all in all five paths on the command lines of ca65, cc65 and ld65 I opted to just set the single environment variable.
This commit is contained in:
parent
7572834ebf
commit
7024e2789d
@ -206,6 +206,8 @@ CC := $(if $(wildcard ../bin/cc65*),../bin/cc65,cc65)
|
||||
CO := $(if $(wildcard ../bin/co65*),../bin/co65,co65)
|
||||
LD := $(if $(wildcard ../bin/ld65*),../bin/ld65,ld65)
|
||||
|
||||
export CC65_HOME := $(abspath ..)
|
||||
|
||||
##########
|
||||
|
||||
define ASSEMBLE_recipe
|
||||
|
Loading…
x
Reference in New Issue
Block a user