summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-03-28 22:58:06 +0000
committerrodri <rgl@antares-labs.eu>2024-03-28 22:58:06 +0000
commit0469e025814868bdf409a28b92550aea18c27661 (patch)
treedb7da968469f4e32c4f84846610a95e20381b31b /mkfile
parent315776d60f1d50b7560c3d4e830c075a5d3e8828 (diff)
downloadrenderfs-0469e025814868bdf409a28b92550aea18c27661.tar.gz
renderfs-0469e025814868bdf409a28b92550aea18c27661.tar.bz2
renderfs-0469e025814868bdf409a28b92550aea18c27661.zip
import libgraphics and allow multiple clients to set up rendering environments.
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/mkfile b/mkfile
index 7cc25cc..730316b 100644
--- a/mkfile
+++ b/mkfile
@@ -5,7 +5,32 @@ TARG=renderfs
OFILES=\
fs.$O\
+LIB=\
+ libobj/libobj.a$O\
+ libgraphics/libgraphics.a$O\
+
</sys/src/cmd/mkone
+libgraphics/libgraphics.a$O:
+ cd libgraphics
+ mk install
+
+libobj/libobj.a$O:
+ cd libobj
+ mk install
+
+pulldeps:VQ:
+ git/clone git://antares-labs.eu/libobj || \
+ git/clone git://shithub.us/rodri/libobj || \
+ git/clone https://github.com/sametsisartenep/libobj
+ git/clone git://antares-labs.eu/libgraphics || \
+ git/clone https://github.com/sametsisartenep/libgraphics
+ @{cd libgraphics; mk $target}
+
+clean nuke:V:
+ rm -f *.[$OS] [$OS].out $TARG
+ @{cd libgraphics; mk $target}
+ @{cd libobj; mk $target}
+
uninstall:V:
rm -f $BIN/$TARG