Ticket #20035: patch-makefiles.diff

File patch-makefiles.diff, 902 bytes (added by mdj@…, 15 years ago)

Replacement Makefile(s) patch

  • cc65/make/gcc.mak

    old new  
    1414
    1515# The compiler include search path. Default is "/usr/lib/cc65/include/" if
    1616# nothing is defined. You may use CC65_INC=foo on the command line to override it.
    17 CC65_INC = \"/usr/lib/cc65/include/\"
     17CC65_INC = \"${PREFIX}/lib/cc65/include/\"
    1818
    1919#
    2020CFLAGS = -O2 -g -Wall -W -std=c89 -I$(COMMON) -DCC65_INC=$(CC65_INC)
  • ld65/make/gcc.mak

    old new  
    77
    88# The linker library search path. Default is "/usr/lib/cc65/lib/" if nothing
    99# is defined. You may use CC65_LIB=foo on the command line to override it.
    10 CC65_LIB = \"/usr/lib/cc65/lib/\"
     10CC65_LIB = \"${PREFIX}/lib/cc65/lib/\"
    1111
    1212#
    1313CFLAGS = -g -O2 -Wall -W -std=c89 -I$(COMMON) -DCC65_LIB=$(CC65_LIB)