about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAli Fardan <raiz@stellarbound.space>2020-11-20 15:17:09 +0300
committerAli Fardan <raiz@stellarbound.space>2020-11-20 15:17:09 +0300
commita93b7d369d465ea6ae650c55550590500efa6577 (patch)
treeb44500acf0662502dcfe6a987928a72c2cd4a38b
parent85d4a44f2d310ce42976a47091f6355fd6066d5e (diff)
downloadlibgemtext-a93b7d369d465ea6ae650c55550590500efa6577.tar.gz
add mkfile for compiling on 9front using APE
-rw-r--r--mkfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..890dc6c
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,9 @@
+</sys/src/ape/config
+
+CFLAGS=-Fwc -D_BSD_SOURCE -D_POSIX_SOURCE
+
+LIB=libgemtext.a$O
+HFILES=gemtext.h
+OFILES=decode.$O encode.$O html.$O free.$O gemtext.$O gemtext_list.$O strlcat.$O strlcpy.$O
+
+</sys/src/cmd/mklib