land/cmd/land/testdata/Tupfile

9 lines
295 B
Plaintext

include_rules
CFLAGS += --target=wasm32-unknown-unknown-wasm
CFLAGS += --sysroot=~/code/wasmception/sysroot/
CFLAGS += -O0 -nostartfiles -Wl,--no-entry -nostdlib
: foreach *.wast |> wat2wasm -o %o %f |> %B.wasm
: foreach *.c |> ~/code/wasmception/dist/bin/clang $(CFLAGS) %f -o %o |> %B.wasm