summary refs log tree commit diff stats
path: root/mkfile
diff options
context:
space:
mode:
authorAli Fardan <raiz@stellarbound.space>2020-11-21 07:31:53 +0300
committerAli Fardan <raiz@stellarbound.space>2020-11-21 07:31:53 +0300
commit8df738163593a6e2589407b185039930ce599f02 (patch)
tree07f182e9334fba34277b81a6b5f3ddc7e1b4ae22 /mkfile
parente088964229bf984dbb8767f1e0b0e81f1f4dece9 (diff)
downloadlibyuri-8df738163593a6e2589407b185039930ce599f02.tar.gz
add mkfile and fix compilation on 9front
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..022fa74
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,9 @@
+</sys/src/ape/config
+
+CFLAGS=-Fwc -D_BSD_SOURCE -D_POSIX_SOURCE
+
+LIB=libyuri.a$O
+HFILES=yuri.h
+OFILES=yuri.$O decode.$O encode.$O normalize.$O strlcpy.$O strlcat.$O
+
+</sys/src/cmd/mklib