From 5dd5b7a2d03885cb767bbf2b609d56f8ef897301 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Thu, 1 Oct 2026 14:58:31 -0700 Subject: Move much of the ISA support to shared code The ISA shared handlers here are required for a proper compiler, but contain only trivial bit-massaging operations. --- chapter23/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chapter23/Makefile') diff --git a/chapter23/Makefile b/chapter23/Makefile index 9725bc7d..8fa5a13a 100644 --- a/chapter23/Makefile +++ b/chapter23/Makefile @@ -66,6 +66,7 @@ test_javas := $(wildcard $(TST)/$(SIMPLE)/*java $(TST)/$(SIMPLE)/*/*java) main_classes := $(patsubst $(SRC)/%java,$(CLZDIR)/main/%class,$(main_javas)) include $(firstword $(wildcard ../graph/graph.mk graph/graph.mk)) include $(firstword $(wildcard ../print/print.mk print/print.mk)) +include $(firstword $(wildcard ../isa/isa.mk isa/isa.mk)) test_classes := $(patsubst $(TST)/%java,$(CLZDIR)/test/%class,$(test_javas)) test_cp := $(patsubst $(TST)/$(SIMPLE)/%.java,com.seaofnodes.simple.%,$(wildcard $(TST)/$(SIMPLE)/*Test.java)) com.seaofnodes.simple.codegen.X86EncodingTest classes = $(main_classes) $(test_classes) @@ -108,8 +109,8 @@ $(main_classes): $(CLZDIR)/main/.mtag ####################################################### -OODT := -$(CLZDIR)/test/.ttag: $(test_classes) $(test_javas) $(CLZDIR)/main/.mtag +OODT := $(isa_test_javas) +$(CLZDIR)/test/.ttag: $(test_classes) $(test_javas) $(isa_test_javas) $(CLZDIR)/main/.mtag @[ -d $(CLZDIR)/test ] || mkdir -p $(CLZDIR)/test $(file >.argsT.txt,$(OODT)) @if [ ! -z "$(OODT)" ] ; then \ -- cgit v1.2.3