about summary refs log tree commit diff stats
path: root/bonus/libfetch/Makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-14 21:51:48 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-14 21:51:48 +0100
commit3adc85aebcb0458fe946731f4ee8e43cbd3fd093 (patch)
tree287ebccb6faca280db643353cd744ca87d8326ae /bonus/libfetch/Makefile
parent600058a19e58aee247ca90b9eb2a8271b458b2d4 (diff)
downloadchawan-3adc85aebcb0458fe946731f4ee8e43cbd3fd093.tar.gz
bonus: add libfetch HTTP backend
It has roughly zero utility, but maybe it's a good demonstration
of local CGI?

(TODO: add libfetch FTP too, that might actually be useful.)
Diffstat (limited to 'bonus/libfetch/Makefile')
-rw-r--r--bonus/libfetch/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/bonus/libfetch/Makefile b/bonus/libfetch/Makefile
new file mode 100644
index 00000000..304ac206
--- /dev/null
+++ b/bonus/libfetch/Makefile
@@ -0,0 +1,6 @@
+cha-http-libfetch: cha-http-libfetch.c
+	$(CC) -Wall -O2 -g -std=c89 cha-http-libfetch.c -lfetch -o cha-http-libfetch
+
+.PHONY: clean
+clean:
+	rm -f cha-http-libfetch