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