Made a start on building the runtimes for each platform and language; the

Linuxes all build.

--HG--
branch : dtrg-buildsystem
rename : modules/src/em_mes/build.mk => modules/src/read_em/build.mk
rename : plat/pc86/build.mk => plat/linux386/build.mk
rename : plat/pc86/build.mk => plat/linux68k/build.mk
rename : plat/pc86/build.mk => plat/linuxppc/build.mk
rename : util/ack/build.mk => util/misc/build.mk
This commit is contained in:
David Given
2013-05-12 23:51:55 +01:00
parent c1aca7dae5
commit b0c238eb5d
23 changed files with 501 additions and 92 deletions

View File

@@ -34,7 +34,8 @@ $o: $s $(ACK) \
$(PLATIND)/descr/$(PLATFORM) \
$(PLATDEP)/$(PLATFORM)/as \
$(CCOMPILER) \
$(PLATFORM_$(PLATFORM))
$(PLATFORM_$(PLATFORM)) \
$(EM_ENCODE)
@echo ACK $o
@mkdir -p $(dir $o)
$(hide) ACKDIR=$(INSDIR) $(ACK) $(ACKFLAGS) $(ackflags) -m$(PLATFORM) -c -o $o $s
@@ -42,8 +43,8 @@ endef
define ackfile
$(eval s := $1)
$(eval o := $(OBJDIR)/$(basename $1).o)
$(eval d := $(OBJDIR)/$(basename $1).d)
$(eval o := $(OBJDIR)/$(objdir)/$(basename $1).o)
$(eval d := $(OBJDIR)/$(objdir)/$(basename $1).d)
$(eval DEPENDS += $d)
$(eval CLEANABLES += $o $d)
$(eval q += $o)