aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plot/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/plot/mkfile')
-rw-r--r--src/cmd/plot/mkfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/cmd/plot/mkfile b/src/cmd/plot/mkfile
new file mode 100644
index 00000000..0eb1a795
--- /dev/null
+++ b/src/cmd/plot/mkfile
@@ -0,0 +1,27 @@
+PLAN9=../../..
+<$PLAN9/src/mkhdr
+
+TARG=plot
+OFILES=plot.$O\
+
+HFILES=plot.h\
+
+LIB=libplot.a
+
+SHORTLIB=frame draw bio 9
+LDFLAGS=$LDFLAGS -L$X11/lib -lX11
+
+<$PLAN9/src/mkone
+
+$LIB:
+ cd libplot
+ mk install
+
+clean:V:
+ rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG libplot.a
+ cd libplot
+ mk clean
+
+nuke:V:
+ mk clean
+ rm -f libplot.a[$OS]