summaryrefslogtreecommitdiff
path: root/mips/Makefile
diff options
context:
space:
mode:
authorRobert Norton2018-06-04 16:48:04 +0100
committerRobert Norton2018-06-04 16:48:04 +0100
commit2c533959ae0bc96d5e648497a74a79e430d4feea (patch)
tree4eff439f3e76a6b8896735f0126b908e6bfa8e6f /mips/Makefile
parenta498df208e75ad0ae84c7697547600c221224316 (diff)
Add mips.c target in Makefile. Currently triggers assertion failure in c_backend. still need to merge changes to prelude.sail.
Diffstat (limited to 'mips/Makefile')
-rw-r--r--mips/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mips/Makefile b/mips/Makefile
index 100687e8..b612c1d0 100644
--- a/mips/Makefile
+++ b/mips/Makefile
@@ -15,6 +15,9 @@ MIPS_MAIN:=$(MIPS_SAIL_DIR)/main.sail
mips: $(MIPS_PRE) $(MIPS_TLB) $(MIPS_SAILS) $(MIPS_MAIN)
$(SAIL) -ocaml -o mips -memo_z3 $^
+mips.c: $(MIPS_PRE) $(MIPS_TLB) $(MIPS_SAILS) $(MIPS_MAIN)
+ $(SAIL) -memo_z3 -c $^ 1> $@
+
mips_no_tlb.lem: $(MIPS_PRE) $(MIPS_TLB_STUB) $(MIPS_SAILS)
$(SAIL) -lem -o mips_no_tlb -lem_mwords -lem_lib Mips_extras -undefined_gen -memo_z3 $^
mips_no_tlb_types.lem: mips_no_tlb.lem