Commit 857c51e9 authored by Kevin Bracey's avatar Kevin Bracey
Browse files

Makefile modified for new ToolboxLib, and to use new linker

parent f0738ec0
......@@ -50,9 +50,9 @@ ABSSYM = RISC_OSLib:o.AbsSym
#
# Include files
#
INCLUDES = -Itbox:,C:
INCLUDES = -IC:tboxlibs,C:
LIBS = tbox:wimplib
LIBS = C:tboxlibs.o.wimplib
DFLAGS = -DDONT_RMENSURE
......@@ -114,8 +114,7 @@ ${TARGET}: ${OBJS} ${ROMCSTUBS}
rom_link:
${MKDIR} linked
${MKDIR} map
${LD} -o linked.${COMPONENT} -map -bin -base ${ADDRESS} ${TARGET} ${ABSSYM} > map.${COMPONENT}
truncate map.${COMPONENT} linked.${COMPONENT}
${LD} -o linked.${COMPONENT} -rmf -base ${ADDRESS} ${TARGET} ${ABSSYM}
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment