1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +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 # Library dir
COMMON = ../common COMMON = ../common
# Default for the compiler lib search path as compiler define # The linker library search path. Default is "/usr/lib/cc65/lib/" if nothing
CDEFS=-DCC65_LIB=\"/usr/lib/cc65/lib/\" # is defined. You may use CC65_LIB=foo on the command line to override it.
CFLAGS = -g -O2 -Wall -W -I$(COMMON) $(CDEFS) CC65_LIB = \"/usr/lib/cc65/lib/\"
#
CFLAGS = -g -O2 -Wall -W -I$(COMMON) -DCC65_LIB=$(CC65_LIB)
CC=gcc CC=gcc
EBIND=emxbind EBIND=emxbind
LDFLAGS= LDFLAGS=
@ -115,7 +118,7 @@ depend dep: $(OBJS:.o=.c)
apple2.inc: cfg/apple2.cfg apple2.inc: cfg/apple2.cfg
@$(CVT) $< $@ CfgApple2 @$(CVT) $< $@ CfgApple2
# The apple2enh target uses the same config as the apple2 # The apple2enh target uses the same config as the apple2
apple2enh.inc: cfg/apple2.cfg apple2enh.inc: cfg/apple2.cfg
@$(CVT) $< $@ CfgApple2Enh @$(CVT) $< $@ CfgApple2Enh