diff options
Diffstat (limited to 'wasm2c/examples/callback/Makefile')
-rw-r--r-- | wasm2c/examples/callback/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wasm2c/examples/callback/Makefile b/wasm2c/examples/callback/Makefile index 81ee53ef..ef7abf76 100644 --- a/wasm2c/examples/callback/Makefile +++ b/wasm2c/examples/callback/Makefile @@ -1,12 +1,13 @@ # Use implicit rules for compiling C files. CFLAGS=-I../.. +LDLIBS=-lm all: callback clean: rm -rf callback callback.wasm callback.c callback.h *.o -callback: main.o callback.o ../../wasm-rt-impl.o ../../wasm-rt-mem-impl.o -lm +callback: main.o callback.o ../../wasm-rt-impl.o ../../wasm-rt-mem-impl.o callback.wasm: callback.wat ../../../bin/wat2wasm ../../../bin/wat2wasm --debug-names $< -o $@ |