land/cmd/land/testdata/Tupfile

9 lines
295 B
Plaintext
Raw Normal View History

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