diff --git a/examples/count-vowels/Makefile b/examples/count-vowels/Makefile index 3742aa7..d61069d 100644 --- a/examples/count-vowels/Makefile +++ b/examples/count-vowels/Makefile @@ -4,5 +4,5 @@ WASI_SDK_PATH?=../../wasi-sdk count-vowels: $(WASI_SDK_PATH)/bin/clang -O2 -g -o count-vowels.wasm count-vowels.c -mexec-model=reactor -run: +run: count-vowels extism call ./count-vowels.wasm count_vowels --wasi --input "this is a test" \ No newline at end of file diff --git a/examples/globals/Makefile b/examples/globals/Makefile index 5f4a06a..f13ef06 100644 --- a/examples/globals/Makefile +++ b/examples/globals/Makefile @@ -1,8 +1,8 @@ WASI_SDK_PATH?=../../wasi-sdk .PHONY: globals -count-vowels: +globals: $(WASI_SDK_PATH)/bin/clang -O2 -g -o globals.wasm globals.c -mexec-model=reactor -run: +run: globals extism call ./globals.wasm globals --loop 100 --wasi diff --git a/examples/infinite-loop/Makefile b/examples/infinite-loop/Makefile index 197558d..7f0fa01 100644 --- a/examples/infinite-loop/Makefile +++ b/examples/infinite-loop/Makefile @@ -4,5 +4,5 @@ WASI_SDK_PATH?=../../wasi-sdk infinite-loop: $(WASI_SDK_PATH)/bin/clang -O2 -g -o infinite-loop.wasm infinite-loop.c -mexec-model=reactor -Wl,--export=infinite_loop -run: +run: infinite-loop extism call --manifest ./manifest.json infinite_loop --wasi