summaryrefslogtreecommitdiffhomepage
path: root/examples/c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c/Makefile')
-rw-r--r--examples/c/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/c/Makefile b/examples/c/Makefile
index 1b10269..0b0fc31 100644
--- a/examples/c/Makefile
+++ b/examples/c/Makefile
@@ -12,7 +12,9 @@ luw_deps = $(LUW_SRCDIR)/libunit-wasm.a \
examples: examples-luw
-examples-luw: luw-echo-request.wasm luw-upload-reflector.wasm
+examples-luw: luw-echo-request.wasm \
+ luw-upload-reflector.wasm \
+ large-upload.wasm
examples-raw: echo-request-raw.wasm upload-reflector-raw.wasm
@@ -36,5 +38,9 @@ upload-reflector-raw.wasm: upload-reflector-raw.c unit-wasm-raw.o
$(PP_CCLNK) $(SDIR)/$@
$(v)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< unit-wasm-raw.o
+large-upload.wasm: large-upload.c $(luw_deps)
+ $(PP_CCLNK) $(SDIR)/$@
+ $(v)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
+
clean:
rm -f *.wasm *.o *.gch