Ticket #21956: patch-makefiles.diff

File patch-makefiles.diff, 1.2 KB (added by trashgod, 15 years ago)

cc65 2.13.0 patch

  • cc65/make/gcc.mak

    old new  
    1515
    1616# The compiler include search path. Default is "/usr/lib/cc65/include/" if
    1717# nothing is defined. You may use CC65_INC=foo on the command line to override it.
    18 CC65_INC = \"/usr/lib/cc65/include/\"
     18CC65_INC = \"${PREFIX}/lib/cc65/include/\"
    1919
    2020#
    2121CC      = gcc
  • ld65/make/gcc.mak

    old new  
    1111COMMON  = ../common
    1212
    1313# Several search paths. You may redefine these on the command line
    14 LD65_LIB = \"/usr/lib/cc65/lib/\"
    15 LD65_OBJ = \"/usr/lib/cc65/lib/\"
    16 LD65_CFG = \"/usr/lib/cc65/cfg/\"
     14LD65_LIB = \"${PREFIX}/lib/cc65/lib/\"
     15LD65_OBJ = \"${PREFIX}/lib/cc65/lib/\"
     16LD65_CFG = \"${PREFIX}/lib/cc65/cfg/\"
    1717
    1818#
    1919CC      = gcc
  • ca65/make/gcc.mak

    old new  
    1111COMMON  = ../common
    1212
    1313# Several search paths. You may redefine these on the command line
    14 CA65_INC = \"/usr/lib/cc65/asminc/\"
     14CA65_INC = \"${PREFIX}/lib/cc65/asminc/\"
    1515
    1616#
    1717CC      = gcc