aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
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}