blob: 22960de365464840a99808c28d6b67b2d2be69e9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
CC = gcc
CFLAGS = -Wall -Wextra -g -DWASM_MODULE="\"$(WASM_MODULE)\"" -I$(WASMTIME_C_API)/include -L$(WASMTIME_C_API)/lib
LDFLAGS = -Wl,-rpath,$(WASMTIME_C_API)/lib
all: wasmtime-wasi-http
wasmtime-wasi-http: wasmtime-wasi-http.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lwasmtime
clean:
rm -f wasmtime-wasi-http
|