summaryrefslogtreecommitdiff
path: root/lib/isabelle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isabelle/Makefile')
-rw-r--r--lib/isabelle/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/isabelle/Makefile b/lib/isabelle/Makefile
index 5ff58069..407e6871 100644
--- a/lib/isabelle/Makefile
+++ b/lib/isabelle/Makefile
@@ -1,10 +1,12 @@
-THYS = Sail_impl_base.thy Sail_values.thy Sail_operators.thy State.thy Prompt.thy
+THYS = Sail_impl_base.thy Sail_values.thy Sail_operators.thy \
+ State_monad.thy State.thy Prompt_monad.thy Prompt.thy
+EXTRA_THYS = State_monad_extras.thy Prompt_monad_extras.thy
.PHONY: all heap-img clean
all: heap-img
-heap-img: $(THYS)
+heap-img: $(THYS) $(EXTRA_THYS) ROOT
@echo '*** To build a heap image with the Sail library, please'
@echo '*** add the ROOT file in this directory to your ROOTS file'
@echo '*** (e.g. $$HOME/.isabelle/Isabelle<version>/ROOTS)'
@@ -23,10 +25,16 @@ Sail_operators.thy: ../../src/gen_lib/sail_operators.lem Sail_values.thy
Sail_operators_mwords.thy: ../../src/gen_lib/sail_operators_mwords.lem Sail_values.thy
lem -isa -outdir . -lib ../../src/lem_interp -lib ../../src/gen_lib $<
-State.thy: ../../src/gen_lib/state.lem Sail_values.thy
+State_monad.thy: ../../src/gen_lib/state_monad.lem Sail_values.thy
lem -isa -outdir . -lib ../../src/lem_interp -lib ../../src/gen_lib $<
-Prompt.thy: ../../src/gen_lib/prompt.lem Sail_values.thy
+State.thy: ../../src/gen_lib/state.lem State_monad.thy State_monad_extras.thy
+ lem -isa -outdir . -lib ../../src/lem_interp -lib ../../src/gen_lib $<
+
+Prompt_monad.thy: ../../src/gen_lib/prompt_monad.lem Sail_values.thy
+ lem -isa -outdir . -lib ../../src/lem_interp -lib ../../src/gen_lib $<
+
+Prompt.thy: ../../src/gen_lib/prompt.lem Prompt_monad.thy Prompt_monad_extras.thy
lem -isa -outdir . -lib ../../src/lem_interp -lib ../../src/gen_lib $<
clean: