Change search paths for the linker.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4193 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-09-18 19:00:24 +00:00
parent beef3a3d85
commit 9a4ec37b40
2 changed files with 16 additions and 19 deletions

View File

@@ -10,12 +10,14 @@ EXE = ld65
# Library dir
COMMON = ../common
# The linker library search path. Default is "/usr/lib/cc65/lib/" if nothing
# is defined. You may use CC65_LIB=foo on the command line to override it.
CC65_LIB = \"/usr/lib/cc65/lib/\"
# Several search paths. You may redefine these on the command line
LD65_LIB = \"/usr/lib/cc65/lib/\"
LD65_OBJ = \"/usr/lib/cc65/lib/\"
LD65_CFG = \"/usr/lib/cc65/cfg/\"
#
CFLAGS = -g -O2 -Wall -W -std=c89 -I$(COMMON) -DCC65_LIB=$(CC65_LIB)
CFLAGS = -g -O2 -Wall -W -std=c89 -I$(COMMON)
CFLAGS += -DLD65_LIB=$(LD65_LIB) -DLD65_OBJ=$(LD65_OBJ) -DLD65_CFG=$(LD65_CFG)
CC=gcc
EBIND=emxbind
LDFLAGS=