summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Campbell2018-05-17 11:42:55 +0100
committerBrian Campbell2018-05-17 11:42:55 +0100
commitfc99e8af769b98ffbc951b20c12fc9111f48cec5 (patch)
tree4d604e3c2af947e55f46eb09bbfe18c7dc526459
parent053717c7ac21d3ee86f8346896e6066d93730c1e (diff)
Tidy up HOL4 riscv a little
-rw-r--r--riscv/.gitignore5
-rw-r--r--riscv/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/riscv/.gitignore b/riscv/.gitignore
new file mode 100644
index 00000000..52f3767a
--- /dev/null
+++ b/riscv/.gitignore
@@ -0,0 +1,5 @@
+riscv.lem
+riscv_types.lem
+riscvScript.sml
+riscv_extrasScript.sml
+riscv_typesScript.sml
diff --git a/riscv/Makefile b/riscv/Makefile
index 110236d7..0532bf09 100644
--- a/riscv/Makefile
+++ b/riscv/Makefile
@@ -43,6 +43,9 @@ riscvScript.sml : riscv.lem riscv_extras.lem
riscv_types.lem \
riscv.lem
+riscvTheory.uo riscvTheory.ui: riscvScript.sml
+ Holmake riscvTheory.uo
+
# we exclude prelude.sail here, most code there should move to sail lib
LOC_FILES:=$(SAIL_SRCS) main.sail
include ../etc/loc.mk
@@ -53,3 +56,5 @@ clean:
-rm -f Riscv.thy Riscv_types.thy \
Riscv_extras.thy
-rm -f Riscv_duopod.thy Riscv_duopod_types.thy riscv_duopod.lem riscv_duopod_types.lem
+ -rm -f riscvScript.sml riscv_typesScript.sml riscv_extrasScript.sml
+ -Holmake cleanAll