]> git.sur5r.net Git - cc65/blobdiff - src/ca65/make/gcc.mak
Added search paths similar to that of the linker and compiler.
[cc65] / src / ca65 / make / gcc.mak
index 6030e9de30877b910a4d1c719dc7bf9d46445767..9a8ea79ba8bec1999866bbcb22751364e59de930 100644 (file)
@@ -10,7 +10,12 @@ EXE          = ca65
 # Library dir
 COMMON = ../common
 
-CFLAGS         = -g -O2 -Wall -W -std=c89 -I$(COMMON)
+# Several search paths. You may redefine these on the command line
+CA65_INC = \"/usr/lib/cc65/asminc/\"
+
+CFLAGS         = -g -O2 -Wall -W -std=c89
+CFLAGS += -I$(COMMON)
+CFLAGS += -DCA65_INC=$(CA65_INC)
 CC     = gcc
 EBIND  = emxbind
 LDFLAGS        =