Skip to content

Commit 64f328f

Browse files
committed
bring back the wasm executable at the root of the interpreter directory
when running make
1 parent cc197d0 commit 64f328f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

interpreter/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ ci: all jslib
3434
.PHONY: $(NAME).exe
3535
$(NAME).exe:
3636
dune build $@
37+
rm -f $(NAME)
38+
cp $(BUILDDIR)/$(OPT) $(NAME)
3739

3840
.PHONY: smallint.exe
3941
smallint.exe:

interpreter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Once you have OCaml, simply do
2424
```
2525
make
2626
```
27-
You'll get an executable named `_build/default/wasm.exe`.
27+
You'll get an executable named `./wasm`.
2828
To run the test suite,
2929
```
3030
make test

0 commit comments

Comments
 (0)