blob: ddd32f88488d3914bcdbb9511e46e560cdc8fb14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
.PHONY: build
build: append_tag numeric_records say_hello modify_record
append_tag:
tinygo build -wasm-abi=generic -target=wasi -o $@.wasm $@.go
modify_record:
tinygo build -wasm-abi=generic -target=wasi -o $@.wasm $@.go
numeric_records:
tinygo build -wasm-abi=generic -target=wasi -o $@.wasm $@.go
say_hello:
tinygo build -wasm-abi=generic -target=wasi -o $@.wasm $@.go
drop_record:
tinygo build -wasm-abi=generic -target=wasi -o $@.wasm $@.go
testdata:
cp *.wasm ../../data/wasm
clean:
rm -f *.wasm
|