summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-04-17 11:37:10 +0000
committerrodri <rgl@antares-labs.eu>2020-04-17 11:37:10 +0000
commite77a34629060abfad8e463efda0c3ffc54379793 (patch)
tree9151e47fab853248f95594e6ef48999a1ff6255f /mkfile
parent263444216730830b712a4f8f3a087513c5ac93e9 (diff)
download3dee-e77a34629060abfad8e463efda0c3ffc54379793.tar.gz
3dee-e77a34629060abfad8e463efda0c3ffc54379793.tar.bz2
3dee-e77a34629060abfad8e463efda0c3ffc54379793.zip
roll everything back.
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile22
1 files changed, 14 insertions, 8 deletions
diff --git a/mkfile b/mkfile
index c56ce21..7e1d254 100644
--- a/mkfile
+++ b/mkfile
@@ -5,29 +5,35 @@ TARG=3d
OFILES=\
main.$O\
-HFILES=geometry.h graphics.h obj.h dat.h fns.h
+HFILES=libgeometry/geometry.h\
+ libgraphics/graphics.h\
+ libobj/obj.h\
+ dat.h\
+ fns.h\
LIB=\
- libgeometry.a$O\
- libgraphics.a$O\
- libobj.a$O
+ libobj/libobj.a$O\
+ libgraphics/libgraphics.a$O\
+ libgeometry/libgeometry.a$O\
+
+CFLAGS=$CFLAGS -I. -Ilibgeometry -Ilibgraphics -Ilibobj
</sys/src/cmd/mkone
-libgeometry.a$O:
+libgeometry/libgeometry.a$O:
cd libgeometry
mk install
-libgraphics.a$O:
+libgraphics/libgraphics.a$O:
cd libgraphics
mk install
-libobj.a$O:
+libobj/libobj.a$O:
cd libobj
mk install
clean nuke:V:
- rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG
+ rm -f *.[$OS] [$OS].out $TARG
@{cd libgeometry; mk $target}
@{cd libgraphics; mk $target}
@{cd libobj; mk $target}