commit 3a2b14812822f9c59f2688bb5e89d5165e21ff88 parent 2612a439b0d3785f8263cf66ee9c586d03225e03 Author: Alexander Burger <abu@software-lab.de> Date: Mon, 28 Feb 2011 18:57:19 +0100 Explicit cross-assembly Diffstat:
M | src64/Makefile | | | 26 | +++++++++++++++++++------- |
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/src64/Makefile b/src64/Makefile @@ -1,4 +1,4 @@ -# 23feb11abu +# 28feb11abu # (c) Software Lab. Alexander Burger .SILENT: @@ -49,14 +49,26 @@ $(lib)/ht: $(ARCH).$(SYS).ht.o .s.o: $(AS) -o $*.o $*.s -$(ARCH).$(SYS).base.s: $(baseFiles) - ./mkAsm $(ARCH) $(SYS) $(OS) base $(lib)/tags $(baseFiles) -$(ARCH).$(SYS).ext.s: ext.l - ./mkAsm $(ARCH) $(SYS) $(OS) ext "" -fpic ext.l +# Explicit builds for cross-assembly +x86-64.linux.base.s: $(baseFiles) + ./mkAsm x86-64 linux Linux base $(lib)/tags $(baseFiles) -$(ARCH).$(SYS).ht.s: ht.l - ./mkAsm $(ARCH) $(SYS) $(OS) ht "" -fpic ht.l +x86-64.linux.ext.s: ext.l + ./mkAsm x86-64 linux Linux ext "" -fpic ext.l + +x86-64.linux.ht.s: ht.l + ./mkAsm x86-64 linux Linux ht "" -fpic ht.l + + +x86-64.sunOs.base.s: $(baseFiles) + ./mkAsm x86-64 sunOs SunOS base $(lib)/tags $(baseFiles) + +x86-64.sunOs.ext.s: ext.l + ./mkAsm x86-64 sunOs SunOS ext "" -fpic ext.l + +x86-64.sunOs.ht.s: ht.l + ./mkAsm x86-64 sunOs SunOS ht "" -fpic ht.l # Clean up