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) $(CFLAGS) $(LDFLAGS) -o $@ $< -lwasmtime clean: rm -f wasmtime-wasi-http