summaryrefslogblamecommitdiff
path: root/Makefile
blob: fa8a566902bf18a8692c30811b9d7f75b923fe75 (plain) (tree)
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) $(CFLAGS) $(LDFLAGS) -o $@ $< -lwasmtime

clean:
	rm -f wasmtime-wasi-http