Skip to content

Commit e09feb9

Browse files
authored
make bedrock2_install now installs examples (#281)
We also have `bedrock2_install_{ex,noex}` targets now.
1 parent c9ed329 commit e09feb9

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
default_target: all
22

3-
.PHONY: update_all clone_all coqutil coq-record-update riscv-coq bedrock2_noex bedrock2_ex compiler_noex compiler_ex kami processor end2end all clean_coqutil clean_coq-record-update clean_riscv-coq clean_bedrock2 clean_compiler clean_kami clean_processor clean_end2end clean_manglenames clean install_coqutil install_coq-record-update install_kami install_riscv-coq install_bedrock2 install_compiler install_processor install_end2end install
3+
.PHONY: update_all clone_all coqutil coq-record-update riscv-coq bedrock2_noex bedrock2_ex compiler_noex compiler_ex kami processor end2end all clean_coqutil clean_coq-record-update clean_riscv-coq clean_bedrock2 clean_compiler clean_kami clean_processor clean_end2end clean_manglenames clean install_coqutil install_coq-record-update install_kami install_riscv-coq install_bedrock2 install_bedrock2_ex install_bedrock2_noex install_compiler install_processor install_end2end install
44

55
clone_all:
66
git submodule update --init --recursive
@@ -110,6 +110,12 @@ clean_bedrock2:
110110
install_bedrock2:
111111
$(MAKE) -C $(ABS_ROOT_DIR)/bedrock2 install
112112

113+
install_bedrock2_noex:
114+
$(MAKE) -C $(ABS_ROOT_DIR)/bedrock2 install_noex
115+
116+
install_bedrock2_ex:
117+
$(MAKE) -C $(ABS_ROOT_DIR)/bedrock2 install_ex
118+
113119
compiler_noex:
114120
$(MAKE) -C $(ABS_ROOT_DIR)/compiler noex
115121

bedrock2/Makefile

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
default_target: all
22

3-
.PHONY: clean force all noex ex install test
3+
.PHONY: clean force all noex ex install_noex install_ex install test
44

55
# absolute paths so that emacs compile mode knows where to find error
66
# use cygpath -m because Coq on Windows cannot handle cygwin paths
@@ -94,5 +94,10 @@ clean:: Makefile.coq.noex Makefile.coq.ex
9494
find . -type f \( -name '*~' -o -name '*.aux' -o -name '.lia.cache' -o -name '.nia.cache' \) -delete
9595
rm -f Makefile.coq.noex Makefile.coq.noex.conf Makefile.coq.ex Makefile.coq.ex.conf _CoqProject special/BytedumpTest.out
9696

97-
install::
97+
install_noex::
9898
$(MAKE) -f Makefile.coq.noex install
99+
100+
install_ex::
101+
$(MAKE) -f Makefile.coq.ex install
102+
103+
install:: install_noex install_ex

0 commit comments

Comments
 (0)