Commit 1f71f8f1 authored by Ben Avison's avatar Ben Avison Committed by ROOL

Assistance for cross-compilable makefiles

StdTools: new symbol SUFFIX_HEADER: '.h' for GNU make, undefined for amu; useful for generating filenames of generated headers
StdTools: new symbol EXT: filename extension separator character
CModule: ROM_SYMS: now defined conditionally, permitting it to be overridden higher up the master makefile, to match SA_LIBS and ROM_LIBS

Version 7.47. Not tagged
parent d9c576a6
...@@ -13,6 +13,7 @@ SUFFIX_ABSOLUTE = ,ff8 ...@@ -13,6 +13,7 @@ SUFFIX_ABSOLUTE = ,ff8
SUFFIX_OBEY = ,feb SUFFIX_OBEY = ,feb
SUFFIX_DEBIMAGE = ,fd3 SUFFIX_DEBIMAGE = ,fd3
endif endif
SUFFIX_HEADER = .h
# #
# Core toolset. # Core toolset.
...@@ -225,5 +226,8 @@ XWIPE = rm ${WPREFLAGS} ...@@ -225,5 +226,8 @@ XWIPE = rm ${WPREFLAGS}
# Directory separator character # Directory separator character
SEP = / SEP = /
# Filename extension separator character
EXT = .
# EOF # EOF
...@@ -190,7 +190,7 @@ endif ...@@ -190,7 +190,7 @@ endif
ROM_LIBS ?= ${LIBS} ROM_LIBS ?= ${LIBS}
SA_LIBS ?= ${LIBS} SA_LIBS ?= ${LIBS}
ROM_LIBS += ${ROMCSTUBS} ROM_LIBS += ${ROMCSTUBS}
ROM_SYMS = ${C_ABSSYM} ROM_SYMS ?= ${C_ABSSYM}
SA_LIBS += ${CLIB} SA_LIBS += ${CLIB}
DBG_LIBS += ${DEBUGLIBS} DBG_LIBS += ${DEBUGLIBS}
......
...@@ -154,5 +154,8 @@ WIPE = ${XWIPE} ...@@ -154,5 +154,8 @@ WIPE = ${XWIPE}
# Directory separator character # Directory separator character
SEP = . SEP = .
# Filename extension separator character
EXT = /
# EOF # EOF
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