land/cmd/land/testdata/Tupfile

10 lines
358 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/
2018-06-21 03:06:35 +00:00
CFLAGS += -O0 -nostartfiles -nostdlib -fvisibility=hidden
CFLAGS += -Wl,--no-entry,--allow-undefined-file=land.syms
2018-06-20 14:58:19 +00:00
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