]> git.sur5r.net Git - cc65/commitdiff
Allow to override CC65_INC on the command line
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 23 Sep 2004 19:04:00 +0000 (19:04 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 23 Sep 2004 19:04:00 +0000 (19:04 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3198 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/make/gcc.mak

index 5f672934efdb940d737510d18186156fcfa3b4e6..8a05205b362d08712ccba0814dd5e9df3d91aab1 100644 (file)
@@ -13,11 +13,11 @@ EXE         = cc65
 COMMON = ../common
 
 # The compiler library search path. Default is "/usr/lib/cc65/include/" if
-# nothing is defined
-#CDEFS=-DCC65_INC=\"/usr/lib/cc65/include/\"
+# nothing is defined. You may use CC65_INC=foo on the command line to override it.
+CC65_INC = \"/usr/lib/cc65/include/\"
 
 #
-CFLAGS = -O2 -g -Wall -W -I$(COMMON) $(CDEFS)
+CFLAGS = -O2 -g -Wall -W -I$(COMMON) -DCC65_INC=$(CC65_INC)
 CC=gcc
 EBIND=emxbind
 LDFLAGS=-lm