ref: 719a61a653646e781b2024da890c7c6b378a6f1e
parent: aa19aa70a431ca02cf8d41248cbcdf69011ee612
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon Feb 1 10:03:35 EST 2021
add top mkfile, build per arch
--- a/codec/mkfile
+++ b/codec/mkfile
@@ -1,6 +1,6 @@
</$objtype/mkfile
-LIB=libopenh264.a
+LIB=libopenh264.$objtype.a
CFLAGS=$CFLAGS -p -D__plan9__ -D__${objtype}__ -Iapi/svc -Icommon/inc -Idecoder/core/inc/
--- /dev/null
+++ b/mkfile
@@ -1,0 +1,4 @@
+default:V: all
+
+%:V:
+ cd codec && mk $target && cd ..