1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 06:29:36 +00:00

Allow to override CC65_LIB on the command line

git-svn-id: svn://svn.cc65.org/cc65/trunk@3199 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-09-23 19:05:49 +00:00
parent 25c8f27d2f
commit 3b58383277

View File

@ -5,9 +5,12 @@
# Library dir
COMMON = ../common
# Default for the compiler lib search path as compiler define
CDEFS=-DCC65_LIB=\"/usr/lib/cc65/lib/\"
CFLAGS = -g -O2 -Wall -W -I$(COMMON) $(CDEFS)
# 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/\"
#
CFLAGS = -g -O2 -Wall -W -I$(COMMON) -DCC65_LIB=$(CC65_LIB)
CC=gcc
EBIND=emxbind
LDFLAGS=
@ -115,7 +118,7 @@ depend dep: $(OBJS:.o=.c)
apple2.inc: cfg/apple2.cfg
@$(CVT) $< $@ CfgApple2
# The apple2enh target uses the same config as the apple2
apple2enh.inc: cfg/apple2.cfg
@$(CVT) $< $@ CfgApple2Enh