summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-01-30 15:12:36 +0000
committerrodri <rgl@antares-labs.eu>2024-01-30 15:12:36 +0000
commit3000f7986489f01ecda0d20af68dc73c2f074fa9 (patch)
tree12060c9112b2f9fda2ca16e5b8ebca67193d15ba /mkfile
parent5f823efa33ea598dabc3cb584363aa967bdf7b08 (diff)
download3dee-3000f7986489f01ecda0d20af68dc73c2f074fa9.tar.gz
3dee-3000f7986489f01ecda0d20af68dc73c2f074fa9.tar.bz2
3dee-3000f7986489f01ecda0d20af68dc73c2f074fa9.zip
adapted to the new libgraphics and its rendering requirements.
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile21
1 files changed, 8 insertions, 13 deletions
diff --git a/mkfile b/mkfile
index 14aa18c..c45231c 100644
--- a/mkfile
+++ b/mkfile
@@ -6,25 +6,14 @@ OFILES=\
alloc.$O\
main.$O\
-HFILES=libgeometry/geometry.h\
- libgraphics/graphics.h\
- libobj/obj.h\
- dat.h\
- fns.h\
+HFILES=dat.h fns.h
LIB=\
libobj/libobj.a$O\
libgraphics/libgraphics.a$O\
- libgeometry/libgeometry.a$O\
-
-CFLAGS=$CFLAGS -I. -Ilibgeometry -Ilibgraphics -Ilibobj
</sys/src/cmd/mkone
-libgeometry/libgeometry.a$O:
- cd libgeometry
- mk install
-
libgraphics/libgraphics.a$O:
cd libgraphics
mk install
@@ -33,8 +22,14 @@ 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
+
clean nuke:V:
rm -f *.[$OS] [$OS].out $TARG
- @{cd libgeometry; mk $target}
@{cd libgraphics; mk $target}
@{cd libobj; mk $target}