aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-05-13 21:15:23 +0000
committerrodri <rgl@antares-labs.eu>2020-05-13 21:15:23 +0000
commit69b437a06edba3582a505b0e6b5c3ff06736465f (patch)
tree690af446c370166d933b15862fa04707b47b0fd6 /mkfile
parent64ae1b600bef8c31423e959eb5f22935d6cdeac9 (diff)
downloadetoys-69b437a06edba3582a505b0e6b5c3ff06736465f.tar.gz
etoys-69b437a06edba3582a505b0e6b5c3ff06736465f.tar.bz2
etoys-69b437a06edba3582a505b0e6b5c3ff06736465f.zip
new toy: grid
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/mkfile b/mkfile
index 3d849bb..c934f69 100644
--- a/mkfile
+++ b/mkfile
@@ -5,5 +5,22 @@ TARG=\
triangles\
beziers\
bsplines\
+ grid\
+
+HFILES=\
+ libgeometry/geometry.h\
+
+LIB=\
+ libgeometry/libgeometry.a$O\
+
+CFLAGS=$CFLAGS -Ilibgeometry
</sys/src/cmd/mkmany
+
+libgeometry/libgeometry.a$O:
+ cd libgeometry
+ mk install
+
+clean nuke:V:
+ rm -f *.[$OS] [$OS].??* $TARG
+ @{cd libgeometry; mk $target}