diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-10-17 12:53:18 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-10-17 12:53:18 +0100 |
commit | 4af8e80018a387e0d54be3c3cf902ee12186df00 (patch) | |
tree | 045e1dbf3a9e2b66e162c7ae68d4b42b90658742 /Makefile | |
download | project_blackbird-4af8e80018a387e0d54be3c3cf902ee12186df00.tar.gz project_blackbird-4af8e80018a387e0d54be3c3cf902ee12186df00.tar.bz2 |
Initial commit
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fa8a566 --- /dev/null +++ b/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) $(CFLAGS) $(LDFLAGS) -o $@ $< -lwasmtime + +clean: + rm -f wasmtime-wasi-http |