Make curl example into a complete tool (#706)

You can now handily use `curl` with popen()/system() by
placing `STATIC_YOINK("_curl")` in your main source file.
This commit is contained in:
Ronsor 2022-12-21 16:12:02 -08:00 committed by GitHub
parent dd04aeba1c
commit f6b3019796
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 96 additions and 4 deletions

View file

@ -15,6 +15,7 @@ TOOL_NET_BINS = \
$(TOOL_NET_COMS:%=%.dbg)
TOOL_NET_COMS = \
o/$(MODE)/tool/net/curl.com \
o/$(MODE)/tool/net/dig.com \
o/$(MODE)/tool/net/redbean.com \
o/$(MODE)/tool/net/redbean-demo.com \