Make AAsmModule and CModule both support `install_rom` and `rom_link` targets
- In AAsmModule,
INSTDIR
defaults to the value ofLINKDIR
, likewise in CModuleLINKDIR
defaults toINSTDIR
. - Add
install_rom
target in CModule androm_link
in AAsmModule. - In AMU CModule
ADDRESS
defaults to 0 (which will cause an error if position dependant code accidentally linked with default), in GNU CModuleADDRESS
is set to 0 for theinstall_rom
target.
This allows conversions of assembly modules to use the CModule
shared make file without a synchronised change to ModuleDB
. With !5 and RiscOS/Sources/Lib/RISC_OSLib!4 leaving position independent modules as type ASM
may result in faster partial ROM rebuilds.
Native ROM builds tested. Does not conflict with !3 (merged).