diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-10-26 22:48:07 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-10-26 22:54:34 +0100 |
commit | e3a37a1bb4908b02553096afaeb380dbc85bb7bb (patch) | |
tree | 6457f713cbb2d64b0d6f8839e662733e258c5df2 /c/wasmtime-wasi-http/Makefile | |
parent | 4904aa341be9c74dec28e6eeea79b707211f2f06 (diff) | |
download | project_blackbird-e3a37a1bb4908b02553096afaeb380dbc85bb7bb.tar.gz project_blackbird-e3a37a1bb4908b02553096afaeb380dbc85bb7bb.tar.bz2 |
Move wasmtime-wasi-http to its own directory
Moved to c/wasmtime-wasi-http
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'c/wasmtime-wasi-http/Makefile')
-rw-r--r-- | c/wasmtime-wasi-http/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c/wasmtime-wasi-http/Makefile b/c/wasmtime-wasi-http/Makefile new file mode 100644 index 0000000..22960de --- /dev/null +++ b/c/wasmtime-wasi-http/Makefile @@ -0,0 +1,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 |