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